Package com.jme3.util.struct
Class StructField<T>
java.lang.Object
com.jme3.util.struct.StructField<T>
- Direct Known Subclasses:
- BooleanArrayField,- BooleanField,- ColorRGBAArrayField,- ColorRGBAField,- FloatArrayField,- FloatField,- IntArrayField,- IntField,- Matrix3fArrayField,- Matrix3fField,- Matrix4fArrayField,- Matrix4fField,- QuaternionArrayField,- QuaternionField,- SubStructArrayField,- SubStructField,- Vector2fArrayField,- Vector2fField,- Vector3fArrayField,- Vector3fField,- Vector4fArrayField,- Vector4fField
A field of a struct
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidClear update needed used internallyintgetDepth()Get depth of the fieldintgetGroup()Get the group to which this field belongs (eg.getName()Get simple name of the fieldintGet position inside the structgetValue()Get value of this fieldbooleanCheck if field needs updatetoString()
- 
Field Details- 
value
- 
isUpdateNeededprotected boolean isUpdateNeeded
 
- 
- 
Constructor Details- 
StructField
 
- 
- 
Method Details- 
getDepthpublic int getDepth()Get depth of the field- Returns:
 
- 
getGrouppublic int getGroup()Get the group to which this field belongs (eg. a parent struct)- Returns:
- id of the group
 
- 
getPositionpublic int getPosition()Get position inside the struct- Returns:
- position inside the struct
 
- 
getValueGet value of this field- Returns:
- value
 
- 
isUpdateNeededpublic boolean isUpdateNeeded()Check if field needs update- Returns:
 
- 
clearUpdateNeededpublic void clearUpdateNeeded()Clear update needed used internally
- 
getNameGet simple name of the field- Returns:
 
- 
toString
 
-