Skip to content

Documentation / @ripl/3d / Group3DOptions

Interface: Group3DOptions ​

Defined in: 3d/src/core/group.ts:22

Options for constructing a Group3D.

Properties ​

PropertyTypeDescriptionDefined in
rotationX?numberThe rotation around the X axis, in radians. Defaults to 0.3d/src/core/group.ts:30
rotationY?numberThe rotation around the Y axis, in radians. Defaults to 0.3d/src/core/group.ts:32
rotationZ?numberThe rotation around the Z axis, in radians. Defaults to 0.3d/src/core/group.ts:34
scale?numberA uniform scale, applied to all three axes. Overridden by any per-axis scale also given.3d/src/core/group.ts:42
scaleX?numberThe scale along the X axis. Defaults to 1.3d/src/core/group.ts:36
scaleY?numberThe scale along the Y axis. Defaults to 1.3d/src/core/group.ts:38
scaleZ?numberThe scale along the Z axis. Defaults to 1.3d/src/core/group.ts:40
x?numberThe X position of the group's origin in world space. Defaults to 0.3d/src/core/group.ts:24
y?numberThe Y position of the group's origin in world space. Defaults to 0.3d/src/core/group.ts:26
z?numberThe Z position of the group's origin in world space. Defaults to 0.3d/src/core/group.ts:28