| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Core |
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.
|
| org.web3d.x3d.jsail.fields |
The fields subpackage is provided for creating
typed X3D field values
and also includes various utility capabilities.
|
| org.web3d.x3d.jsail.Rendering |
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.
|
| Modifier and Type | Method and Description |
|---|---|
MFColorRGBAObject |
fieldObject.getValueMFColorRGBA()
Get typed value of this field declaration.
|
MFColorRGBAObject |
fieldValueObject.getValueMFColorRGBA()
Get typed value of this fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
fieldObject |
fieldObject.appendValue(MFColorRGBAObject newValue)
Append MFColorRGBAObject to field for value attribute.
|
fieldValueObject |
fieldValueObject.appendValue(MFColorRGBAObject newValue)
Append MFColorRGBAObject to fieldValue for value attribute.
|
fieldObject |
fieldObject.setValue(MFColorRGBAObject newValue)
Set typed value of a MFColorRGBA field declaration.
|
fieldValueObject |
fieldValueObject.setValue(MFColorRGBAObject newValue)
Set typed value of a MFColorRGBA fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
MFColorRGBAObject |
MFColorRGBAObject.append(MFColorRGBAObject newValue)
Appends a new MFColorRGBAObject to the end of the existing value array, increasing the field length accordingly.
|
MFColorRGBAObject |
MFColorRGBAObject.append(SFColorRGBAObject newValue)
Appends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.
|
MFColorRGBAObject |
MFColorRGBAObject.complementAlpha()
Complement each alpha value of array by subtracting it from 1, note transparency = (1 - alpha).
|
MFColorRGBAObject |
MFColorRGBAObject.complementRGB()
Complement all color values of array in RGB space (i.e. subtract each component from 1).
|
MFColorRGBAObject |
MFColorRGBAObject.normalizeClip()
Ensure all component color values are within range [0-1] by clipping as necessary.
|
MFColorRGBAObject |
MFColorRGBAObject.set1Value(int index,
int hexColorValue,
float alpha)
Replace a single value at the appropriate location in the existing value array.
|
MFColorRGBAObject |
MFColorRGBAObject.setValue(double[] newValue)
Assign a double-precision array value to this single-precision field.
|
MFColorRGBAObject |
MFColorRGBAObject.setValue(MFColorRGBAObject newValue)
Apply an MFColorRGBAObject value to this field.
|
MFColorRGBAObject |
MFColorRGBAObject.setValue(SFColorRGBAObject newValue)
Assign a single-field SFColorRGBAObject as new array value.
|
MFColorRGBAObject |
MFColorRGBAObject.setValueByString(java.lang.String newValue)
Utility accessor for MFColorRGBAObject using String value (which must pass parsing validation checks).
|
| Modifier and Type | Method and Description |
|---|---|
MFColorRGBAObject |
MFColorRGBAObject.append(MFColorRGBAObject newValue)
Appends a new MFColorRGBAObject to the end of the existing value array, increasing the field length accordingly.
|
MFColorRGBAObject |
MFColorRGBAObject.setValue(MFColorRGBAObject newValue)
Apply an MFColorRGBAObject value to this field.
|
| Constructor and Description |
|---|
MFColorRGBAObject(MFColorRGBAObject newValue)
Constructor to copy an MFColorRGBAObject value as initial value for this new field object.
|
| Modifier and Type | Method and Description |
|---|---|
ColorRGBAObject |
ColorRGBAObject.setColor(MFColorRGBAObject newValue)
Assign typed object value to MFColorRGBA color field, similar to
ColorRGBAObject.setColor(float[]). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.