The RedGPUContext of the instance.
The location of the instance.
The InstancingMesh of the instance.
Sets the position of the object.
The x coordinate of the position.
Optional
y: numberThe y coordinate of the position, defaults to x if not provided.
Optional
z: numberThe z coordinate of the position, defaults to x if not provided.
Sets the rotation of an object in three-dimensional space.
The rotation around the x-axis, in degrees.
Optional
rotationY: numberThe rotation around the y-axis, in degrees. Defaults to rotationX if not provided.
Optional
rotationZ: numberThe rotation around the z-axis, in degrees. Defaults to rotationX if not provided.
Set the scale of the object along the x, y, and z axes. If only the x parameter is provided, the object is uniformly scaled along all axes.
The scale factor along the x-axis.
Optional
y: numberThe scale factor along the y-axis. Defaults to the value of x.
Optional
z: numberThe scale factor along the z-axis. Defaults to the value of x.
Represents an instance of a 3D mesh object with instancing capabilities.