5.4 Object Properties
Attributes of each object, (described as Object3D, Model3D, or Camera in Mathematica) are changed using SetOptions. Similarly we can read the current state of an object using Options. In this release of Dynamic Visualizer, it is not possible to read all of the options that can be set. ModelRange, Scale, Location, CoordinateReference and the various orientation options are currently supported.
The position of the object is encoded as the full 4×4 transformation matrix. From this matrix, the scale, location, and orientation of the object can be determined. When required, the orientation may be converted into the other notations using YawPitchRoll, EulerAngles, and AxisAndAngle.
The Scale, Location, and EulerAngles options can be read back into Mathematica. If an object is rotating, these values change over a period of time. EulerAngles, AxisAndAngle, and YawPitchRoll all have degenerate orientations where more than one set of angles specifies the same orientation. As a result, the angles returned using Options may not be identical to the angles originally set using SetOptions. The object's transformation matrix is also limited by numerical rounding errors.
A complete list of all object properties that can be set is available using Options.
The model and camera have the additional options of BoundingBox, ModelRange, and CoordinateReference.