API reference / Common / Engine types / ShapeModel3dTransform
Interface: ShapeModel3dTransform
am3d:trans (CT_Model3DTransform): the model's own units to the scene, then moved, scaled, turned and moved again, in that order.
Properties
| Property | Description |
|---|---|
metersPerModelUnit?number | am3d:meterPerModelUnit — the length of one of the model file's units, in meters. None where the file doesn't say. |
preTranslationShapeModel3dVector | am3d:preTrans — the first move, which puts the centre the model turns about at the origin. |
scaleShapeModel3dVector | am3d:scale — the scale along each axis, 1 for none. |
rotationShapeModel3dVector | am3d:rot — the turn about each axis, in degrees: about x first, then y, then z, each counter-clockwise looking down the axis toward the origin. |
postTranslationShapeModel3dVector | am3d:postTrans — the last move, which puts the model's origin where it stands. |