Uses of Class
org.web3d.x3d.jsail.Core.unitObject
| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Core |
-
Uses of unitObject in org.web3d.x3d.jsail.Core
Methods in org.web3d.x3d.jsail.Core that return unitObject Modifier and Type Method Description unitObjectunitObject. addComments(java.lang.String newComment)Add comment as String to contained commentsList.unitObjectunitObject. addComments(java.lang.String[] newComments)Add comments as String[] array to contained commentsList.unitObjectunitObject. addComments(CommentsBlock newCommentsBlock)Add CommentsBlock to contained commentsList.unitObjectheadObject. findUnitByName(java.lang.String unitName)Find contained unit statement by name, if present.unitObjectunitObject. setCategory(java.lang.String newValue)Accessor method to assign String enumeration value ("angle" | "force" | "length" | "mass") to initializeOnly SFString field named category.unitObjectunitObject. setCategory(SFStringObject newValue)Assign typed object value to SFString category field, similar tosetCategory(String).unitObjectunitObject. setConversionFactor(double newValue)Accessor method to assign double value to inputOutput SFDouble field named conversionFactor.unitObjectunitObject. setConversionFactor(SFDoubleObject newValue)Assign typed object value to SFDouble conversionFactor field, similar tosetConversionFactor(double).unitObjectunitObject. setName(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named name.unitObjectunitObject. setName(SFStringObject newValue)Assign typed object value to SFString name field, similar tosetName(String).Methods in org.web3d.x3d.jsail.Core that return types with arguments of type unitObject Modifier and Type Method Description java.util.ArrayList<unitObject>headObject. getUnitList()Provide array of unitObject results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field unit.Methods in org.web3d.x3d.jsail.Core with parameters of type unitObject Modifier and Type Method Description headObjectheadObject. addUnit(unitObject newValue)Add array of child unit nodes to array of existing nodes (if any).headObjectheadObject. setUnit(unitObject newValue)Set single child unit node, replacing prior array of existing nodes (if any).Method parameters in org.web3d.x3d.jsail.Core with type arguments of type unitObject Modifier and Type Method Description headObjectheadObject. setUnitList(java.util.ArrayList<unitObject> newValue)Accessor method to assign unitObject array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field unit.