| Package | Description |
|---|---|
| org.web3d.x3d.jsail.EnvironmentalSensor |
The Environment Sensor nodes emit events indicating activity in the scene environment,
usually based on interactions between the viewer and the world.
|
| Modifier and Type | Method and Description |
|---|---|
TransformSensorObject |
TransformSensorObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
TransformSensorObject |
TransformSensorObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
TransformSensorObject |
TransformSensorObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
TransformSensorObject |
TransformSensorObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
TransformSensorObject |
TransformSensorObject.clearTargetObject()
Utility method to clear SFNode value of targetObject field.
|
TransformSensorObject |
TransformSensorObject.setCenter(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named center.
|
TransformSensorObject |
TransformSensorObject.setCenter(float x,
float y,
float z)
Assign values to SFVec3f center field, similar to
setCenter(float[]). |
TransformSensorObject |
TransformSensorObject.setCenter(SFVec3fObject newValue)
Assign typed object value to SFVec3f center field, similar to
setCenter(float[]). |
TransformSensorObject |
TransformSensorObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
TransformSensorObject |
TransformSensorObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TransformSensorObject |
TransformSensorObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
TransformSensorObject |
TransformSensorObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TransformSensorObject |
TransformSensorObject.setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
TransformSensorObject |
TransformSensorObject.setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
TransformSensorObject |
TransformSensorObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
TransformSensorObject |
TransformSensorObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
TransformSensorObject |
TransformSensorObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TransformSensorObject |
TransformSensorObject.setSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to initializeOnly SFVec3f field named size.
|
TransformSensorObject |
TransformSensorObject.setSize(float x,
float y,
float z)
Assign values to SFVec3f size field, similar to
setSize(float[]). |
TransformSensorObject |
TransformSensorObject.setSize(SFVec3fObject newValue)
Assign typed object value to SFVec3f size field, similar to
setSize(float[]). |
TransformSensorObject |
TransformSensorObject.setTargetObject(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field targetObject.
|
TransformSensorObject |
TransformSensorObject.setTargetObject(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DGroupingNode|X3DShapeNode, to inputOutput SFNode field targetObject.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Grouping.X3DGroupingNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Shape.X3DShapeNode);
if (!
|
TransformSensorObject |
TransformSensorObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
TransformSensorObject |
TransformSensorObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
TransformSensorObject |
TransformSensorObject.setUSE(TransformSensorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
| Modifier and Type | Method and Description |
|---|---|
TransformSensorObject |
TransformSensorObject.setUSE(TransformSensorObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.