createPointCloud#transform¶
Summary¶
createPointCloud#transform places the entire cloud in world space. Move, rotate, scale, or parent this transform while leaving the packed point positions in cloud-local coordinates.
Syntax¶
readonly PointCloud.transform: Transform
cloud.transform.setPosition(2, 0, 0);
cloud.transform.setParent(parentTransform);
Returns¶
Transform - The live transform used for rendering and world bounds. The cloud disposes it when destroyed.
Notes¶
Set cloud.visible to false to hide the cloud while keeping it in its scene. Assign cloud.name to make it accessible by scene lookup. Visibility defaults to true and the name defaults to null.