Serialisierte Form
-
Package net.risingworld.api.ui
-
Klasse net.risingworld.api.ui.UIElement
class UIElement extends Object implements Serializable-
Serialisierte Felder
-
childs
ArrayList<UIElement> childs
Childs (never null) -
clickable
boolean clickable
Clickable -
hoverStyle
Style hoverStyle
The hover style of this element. Becomes active when hovering this element with the cursor, but only ifUIElement.setClickable(boolean)
was set to true. After changing the style, remember to callUIElement.updateStyle()
, so the changes are synced with the player -
id
int id
The unique id of this element -
parent
UIElement parent
Parent element -
pickable
boolean pickable
Picking mode (true for Picking, false for Ignore) -
pluginID
int pluginID
The id of the plugin which created this element -
style
Style style
The style of this element. After changing it, remember to callUIElement.updateStyle()
, so the changes are synced with the player -
styleSheetClassList
String[] styleSheetClassList
Style sheet class list. Null if no style sheet classes were assigned -
styleSheets
int[] styleSheets
Style sheets. Null if no style sheet was assigned
-
-
-
Klasse net.risingworld.api.ui.UILabel
class UILabel extends UIElement implements Serializable-
Serialisierte Felder
-
enableRichText
boolean enableRichText
Determines if rich text is enabled or not -
text
String text
Currently set text. May be null (if no text is set)
-
-
-
Klasse net.risingworld.api.ui.UIMesh
class UIMesh extends UIElement implements Serializable-
Serialisierte Felder
-
indices
ArrayList<Short> indices
-
texture
TextureAsset texture
-
vertices
ArrayList<net.risingworld.api.ui.UIMesh.UIVertex> vertices
-
-
-
Klasse net.risingworld.api.ui.UIPainter2D
class UIPainter2D extends UIElement implements Serializable-
Serialisierte Felder
-
commands
ArrayList<byte[]> commands
-
size
int size
-
-
-
Klasse net.risingworld.api.ui.UIScrollView
class UIScrollView extends UIElement implements Serializable-
Serialisierte Felder
-
elasticity
float elasticity
-
horizontalPageSize
float horizontalPageSize
-
horizontalScrollerVisibility
UIScrollView.ScrollerVisibility horizontalScrollerVisibility
-
mode
UIScrollView.ScrollViewMode mode
-
mouseWheelScrollSize
float mouseWheelScrollSize
-
verticalPageSize
float verticalPageSize
-
verticalScrollerVisibility
UIScrollView.ScrollerVisibility verticalScrollerVisibility
-
-
-
Klasse net.risingworld.api.ui.UITextField
class UITextField extends UIElement implements Serializable-
Serialisierte Felder
-
isMasked
boolean isMasked
-
maskedCharacter
char maskedCharacter
-
maxCharacters
int maxCharacters
-
multiline
boolean multiline
-
placeholderText
String placeholderText
Placeholder text that is visible if there is no text in the text field. Default: null -
readonly
boolean readonly
-
text
String text
Default text (after calling setText()). This does not represent the text the player may have entered!
-
-
-
-
Package net.risingworld.api.utils
-
Klasse net.risingworld.api.utils.Bounds
class Bounds extends Object implements Serializable-
Serialisierte Felder
-
center
Vector3f center
-
xExtent
float xExtent
-
yExtent
float yExtent
-
zExtent
float zExtent
-
-
-
Klasse net.risingworld.api.utils.ColorRGBA
class ColorRGBA extends Object implements Serializable-
Serialisierte Felder
-
a
float a
The alpha (opacity) color component (0-1) -
b
float b
The blue color component (0-1) -
g
float g
The green color component (0-1) -
immutable
boolean immutable
Defines whether or not this object is supposed to be immutable -
r
float r
The red color component (0-1)
-
-
-
Klasse net.risingworld.api.utils.Quaternion
class Quaternion extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this Quaternion is supposed to be immutable -
w
float w
The W value of this Quaternion (scalar part) -
x
float x
The X value of this Quaternion (vector part) -
y
float y
The Y value of this Quaternion (vector part) -
z
float z
The Z value of this Quaternion (vector part)
-
-
-
Klasse net.risingworld.api.utils.Vector2f
class Vector2f extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this vector is supposed to be immutable -
x
float x
The X value of this vector -
y
float y
The Y value of this vector
-
-
-
Klasse net.risingworld.api.utils.Vector2i
class Vector2i extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this vector is supposed to be immutable -
x
int x
The integer X value of this vector -
y
int y
The integer Y value of this vector
-
-
-
Klasse net.risingworld.api.utils.Vector3f
class Vector3f extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this vector is supposed to be immutable -
x
float x
The X value of this vector -
y
float y
The Y value of this vector -
z
float z
The Z value of this vector
-
-
-
Klasse net.risingworld.api.utils.Vector3i
class Vector3i extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this vector is supposed to be immutable -
x
int x
The integer X value of this vector -
y
int y
The integer Y value of this vector -
z
int z
The integer Z value of this vector
-
-
-
Klasse net.risingworld.api.utils.Vector4f
class Vector4f extends Object implements Serializable-
Serialisierte Felder
-
immutable
boolean immutable
Defines whether or not this vector is supposed to be immutable -
w
float w
The W value of this vector -
x
float x
The X value of this vector -
y
float y
The Y value of this vector -
z
float z
The Z value of this vector
-
-
-