| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Shape |
The Shape component defines nodes for associating geometry with their visible properties
and the scene environment.
|
| Modifier and Type | Method and Description |
|---|---|
ShapeObject |
ShapeObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
ShapeObject |
ShapeObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
ShapeObject |
ShapeObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
ShapeObject |
ShapeObject.clearAppearance()
Utility method to clear SFNode value of appearance field.
|
ShapeObject |
ShapeObject.clearGeometry()
Utility method to clear SFNode value of geometry field.
|
ShapeObject |
ShapeObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
ShapeObject |
ShapeObject.setAppearance(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field appearance.
|
ShapeObject |
ShapeObject.setAppearance(X3DAppearanceNode newValue)
Assign X3DAppearanceNode instance (using a properly typed node) to inputOutput SFNode field appearance.
|
ShapeObject |
ShapeObject.setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
ShapeObject |
ShapeObject.setBboxCenter(float x,
float y,
float z)
Assign values to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
ShapeObject |
ShapeObject.setBboxCenter(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
ShapeObject |
ShapeObject.setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
ShapeObject |
ShapeObject.setBboxSize(float x,
float y,
float z)
Assign values to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
ShapeObject |
ShapeObject.setBboxSize(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
ShapeObject |
ShapeObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
ShapeObject |
ShapeObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ShapeObject |
ShapeObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
ShapeObject |
ShapeObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ShapeObject |
ShapeObject.setGeometry(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field geometry.
|
ShapeObject |
ShapeObject.setGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field geometry.
|
ShapeObject |
ShapeObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
ShapeObject |
ShapeObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
ShapeObject |
ShapeObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ShapeObject |
ShapeObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
ShapeObject |
ShapeObject.setUSE(ShapeObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
ShapeObject |
ShapeObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
ShapeObject |
ShapeObject.setUSE(ShapeObject 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.