Class Transform

java.lang.Object
All Implemented Interfaces:
X3DChildNode, X3DNode, Transform, X3DBoundedObject, X3DGroupingNode

public class Transform extends X3DConcreteNode implements Transform
Transform is a Grouping node that can contain most nodes.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. Transform node tooltip: [X3DGroupingNode,X3DVisibleObject] Transform is a Grouping node that can contain most nodes. Transform translates, orients and scales child geometry within the local world coordinate system.
  • Hint: each transformation creates a new coordinate system relative to the parent coordinate system.
  • Hint: +Y axis is the up direction. (Similarly some scenes may consider +X is North and +Z is East.)
  • Hint: best authoring approach is to keep +Y axis pointing towards local up direction, supporting scene composability and effective navigation response (which is based on gravity direction).
  • Hint: insert a Shape node before adding geometry or Appearance.
  • Hint: translation/rotation/scaling field attributes can be defined in any order in the scene. The applied order of translation/rotation/scaling transformation-matrix operations remains consistent.
  • Hint: authors can modify order of translation/rotation/scaling operations by splitting them into separate nested parent/child Transform nodes.
  • Warning: Transform contained by CADFace can only hold a single LOD or Shape node.
  • Hint: X3D Scene Authoring Hints, Coordinate Systems https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CoordinateSystems
  • Hint: X3D Scene Authoring Hints, Scale Factors and Unit Conversions https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Scale
  • Hint: apply containerField='shape' if parent node is CADFace.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: