Wearable OnlyExperimental Wearable OnlyanchorAn optional anchor identifier for attaching this composition layer to a tracked anchor. When set, the layer's pose is driven by the anchor system instead of the SceneObject transform.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component is currently being destroyed. Becomes true as soon as
destruction begins via Component#destroy or destruction of its owning SceneObject,
before any OnDestroyEvent callbacks fire.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
Wearable OnlyrenderBack-to-front render order: higher values render in front, lower (negative) values behind. The main projection layer is at 0, so a positive value renders the layer in front of it, a negative behind.
ReadonlysceneThe SceneObject this component is on.
Wearable OnlysmoothThe duration in seconds for the composition layer to smooth follow the camera. Only used if smoothFollowEnabled is true.
Wearable OnlysmoothIf true, the composition layer will smoothly follow the layer's current pose.
Wearable OnlytextureThe texture to display on this composition layer. This must be explicitly set when rendering into the layer to display content.
ReadonlyuniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
StaticgetReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Represents a composition layer that is rendered independently from the main scene and composited by the system compositor. The type of the layer determines the underlying geometry (e.g. Quad).
Remarks
The composition layer is hidden in capture or in display when its SceneObject's layer is in ScriptScene#hiddenInCapture or ScriptScene#hiddenInDisplay respectively.
Since
Lens Scripting Version 370