Represents a per-View transform that can be applied at render time without modifying the Scene.

View transforms live in a View or ViewLayer and can be composed into a hierarchy. A ViewTransform is typically associated with one or more ViewObjects, enabling per-view object manipulation while leaving the underlying SceneObject/SceneMesh transforms intact.

The renderer combines the Scene transform product with the View transform product in the shader. This class assumes the View product post-multiplies the Scene product:

modelMatrix = sceneMatrix * globalMatrix

Properties

destroyed: boolean = false

True once destroy has been called.

id: string

Unique identifier for this transform within its owning View or ViewLayer.

layer: ViewLayer

Owning ViewLayer, when the transform is layer-scoped.

view: View

Owning View.

Accessors

Methods