Interface: InstanceTransform
Defined in: src/mobjects/three-d/InstancedMobject.ts:12
A single instance of the shared template geometry.
position is required. rotation is a Euler tuple in radians (XYZ order).
scale is a uniform factor or a per-axis tuple. color is a CSS color string
applied to this instance only; omit it to keep the material color.
Properties
color?
optionalcolor:string
Defined in: src/mobjects/three-d/InstancedMobject.ts:20
Per-instance CSS color. Default: inherit the material color.
position
position:
Vector3Tuple
Defined in: src/mobjects/three-d/InstancedMobject.ts:14
Instance position [x, y, z].
rotation?
optionalrotation:Vector3Tuple
Defined in: src/mobjects/three-d/InstancedMobject.ts:16
Euler rotation [x, y, z] in radians (XYZ order). Default: no rotation.
scale?
optionalscale:number|Vector3Tuple
Defined in: src/mobjects/three-d/InstancedMobject.ts:18
Uniform scale, or per-axis [x, y, z] scale. Default: 1.