Uses of Class
org.web3d.x3d.jsail.fields.MFColorRGBA
Package
Description
The Core component supplies the base functionality for the X3D run-time system, including the abstract base node type, field types, the event model, and routing.
The X3D Java fields package provides a
comprehensive set of strongly typed X3D Java classes for
concrete implementation of X3D field types.
The Rendering component includes fundamental rendering primitives such as TriangleSet and PointSet nodes, as well as geometric properties nodes that define how coordinate indices, colors, normals and texture coordinates are specified.
-
Uses of MFColorRGBA in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionfield.getValueMFColorRGBA()
Get typed value of this field declaration.fieldValue.getValueMFColorRGBA()
Get typed value of this fieldValue declaration.Modifier and TypeMethodDescriptionfield.appendValue
(MFColorRGBA newValue) Append MFColorRGBA to field for value attribute.fieldValue.appendValue
(MFColorRGBA newValue) Append MFColorRGBA to fieldValue for value attribute.field.setValue
(MFColorRGBA newValue) Set typed value of a MFColorRGBA field declaration.fieldValue.setValue
(MFColorRGBA newValue) Set typed value of a MFColorRGBA fieldValue declaration. -
Uses of MFColorRGBA in org.web3d.x3d.jsail.fields
Modifier and TypeMethodDescriptionMFColorRGBA.append
(MFColorRGBA newValue) Appends a new MFColorRGBA to the end of the existing value array, increasing the field length accordingly.MFColorRGBA.append
(SFColorRGBA newValue) Appends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.MFColorRGBA.complementAlpha()
Complement each alpha value of array by subtracting it from 1, note transparency = (1 - alpha).MFColorRGBA.complementRGB()
Complement all color values of array in RGB space (i.e. subtract each component from 1).MFColorRGBA.normalizeClip()
Ensure all component color values are within range [0-1] by clipping as necessary.MFColorRGBA.set1Value
(int index, int hexColorValue, float alpha) Replace a single value at the appropriate location in the existing value array.MFColorRGBA.setValue
(double[] newValue) Assign a double-precision array value to this single-precision field.MFColorRGBA.setValue
(MFColorRGBA newValue) Apply an MFColorRGBA value to this field.MFColorRGBA.setValue
(SFColorRGBA newValue) Assign a single-field SFColorRGBA as new array value.MFColorRGBA.setValueByString
(String newValue) Utility accessor for MFColorRGBA using String value (which must pass parsing validation checks).Modifier and TypeMethodDescriptionMFColorRGBA.append
(MFColorRGBA newValue) Appends a new MFColorRGBA to the end of the existing value array, increasing the field length accordingly.boolean
MFColorRGBA.equals
(MFColorRGBA comparisonMFColorRGBA) Determine whether two objects contain equal values.MFColorRGBA.setValue
(MFColorRGBA newValue) Apply an MFColorRGBA value to this field.ModifierConstructorDescriptionMFColorRGBA
(MFColorRGBA newValue) Constructor to copy an MFColorRGBA value as initial value for this new field object. -
Uses of MFColorRGBA in org.web3d.x3d.jsail.Rendering
Modifier and TypeMethodDescriptionColorRGBA.setColor
(MFColorRGBA newValue) Assign typed object value to MFColorRGBA color field, similar toColorRGBA.setColor(float[])
.