Package org.web3d.x3d.sai
Interface SFColor
- All Superinterfaces:
X3DField
- All Known Implementing Classes:
SFColor
SFColor specifies one RGB (red-green-blue) color triple, where each color value is an RGB triple of floating point numbers in range [0,1]. The default value of an uninitialized SFColor field is (0 0 0). Warning: comma characters within singleton values do not pass strict XML validation.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
-
Method Details
-
getValue
void getValue(float[] valueDestination) Write out the current value of this field into the external valueDestination array.- Parameters:
valueDestination
- The array to be filled in with current field values.- Throws:
ArrayIndexOutOfBoundsException
- The provided valueDestination array was too small.
-
setValue
void setValue(float[] newValue) Assign a new value to this field.- Parameters:
newValue
- the newValue to set
-