public class SoSFColorRGBA extends SoSField
SbColorRGBA. Values are set in RGBA (red, green, blue, alpha) color space.
SoSFColorRGBAs are written to file as an RGBA quadruple of floating point numbers in standard scientific notation, in the range 0.0 to 1.0.
See also:
SoField.FieldTypesInventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoSFColorRGBA()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
SoSFColorRGBA(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType,
SbColorRGBA defaultValue)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
SbColorRGBA |
getValue()
Returns this field's value.
|
long |
getValueSize()
Get size of the value.
|
void |
setHSVAValue(float[] hsva)
Convenience method for setting the value.
|
void |
setHSVAValue(float h,
float s,
float v,
float a)
Convenience method for setting the value.
|
void |
setValue(float[] rgba)
Convenience method for setting the value.
|
void |
setValue(float r,
float g,
float b,
float a)
Convenience method for setting the value.
|
void |
setValue(SbColorRGBA newValue)
Sets this field to
newValue.
|
void |
setValue(SbVec4f vec)
Convenience method for setting the value.
|
appendConnection, appendConnection, appendConnection, connectFrom, connectFrom, connectFrom, disconnect, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getConnectedVRMLInterp, getContainer, getNumConnections, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touchdispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public SoSFColorRGBA()
public SoSFColorRGBA(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbColorRGBA defaultValue)
public void setValue(float r,
float g,
float b,
float a)
public void setValue(float[] rgba)
public void setValue(SbColorRGBA newValue)
public void setValue(SbVec4f vec)
public void setHSVAValue(float[] hsva)
public long getValueSize()
public void setHSVAValue(float h,
float s,
float v,
float a)
public SbColorRGBA getValue()
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com