| 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.
|
| Modifier and Type | Method and Description |
|---|---|
SFVec4dObject |
fieldObject.getValueSFVec4d()
If type matches, then get typed value of a SFVec4d field declaration.
|
SFVec4dObject |
fieldValueObject.getValueSFVec4d()
If type matches, then get typed value of a SFVec4d fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
fieldObject |
fieldObject.appendValue(SFVec4dObject newValue)
Append SFVec4dObject to field for value attribute.
|
fieldValueObject |
fieldValueObject.appendValue(SFVec4dObject newValue)
Append SFVec4dObject to fieldValue for value attribute.
|
fieldObject |
fieldObject.setValue(SFVec4dObject newValue)
Set typed value of a SFVec4d field declaration.
|
fieldValueObject |
fieldValueObject.setValue(SFVec4dObject newValue)
Set typed value of a SFVec4d fieldValue declaration.
|
| Modifier and Type | Method and Description |
|---|---|
SFVec4dObject |
SFVec4dObject.multiply(double scaleFactor)
Multiply scaleFactor times all values in this field type.
|
SFVec4dObject |
SFVec4dObject.normalize()
Utility method to normalize this vector value to unit length, ignore if zero length.
|
SFVec4dObject |
SFVec4dObject.setValue(double x,
double y,
double z,
double t)
Assign a new value to this field.
|
SFVec4dObject |
SFVec4dObject.setValue(float[] newValue)
Constructor for SFVec4dObject using a corresponding Java primitive float[] array as new initial value.
|
SFVec4dObject |
SFVec4dObject.setValue(SFVec4dObject newValue)
Apply an SFVec4dObject value to this field.
|
SFVec4dObject |
SFVec4dObject.setValueByString(java.lang.String newValue)
Utility accessor for SFVec4dObject using String value (which must pass parsing validation checks).
|
| Modifier and Type | Method and Description |
|---|---|
MFVec4dObject |
MFVec4dObject.append(SFVec4dObject newValue)
Appends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.
|
MFVec4dObject |
MFVec4dObject.setValue(SFVec4dObject newValue)
Assign a single-field SFVec4dObject as new array value.
|
SFVec4dObject |
SFVec4dObject.setValue(SFVec4dObject newValue)
Apply an SFVec4dObject value to this field.
|
| Constructor and Description |
|---|
SFVec4dObject(SFVec4dObject newValue)
Constructor to copy an SFVec4dObject value as initial value for this new field object.
|
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.