If disabled, the Component will stop enacting its behavior.
The point about which the Canvas Rectangle will rotate. Defined as fractional coordinates of the Canvas's dimensions. e.g. (1 , 1) brings the pivot to the top right corner of the canvas. Or (0.5, 0) moves the pivot to the right by half the canvas width.
Readonly
sceneThe scene object this component is on.
The rendering sort order for the objects underneath this canvas.
Readonly
uniqueThe unit for the objects underneath this canvas.
World Space Rectangle that defines the Canvas as offsets in world units from the SceneObject's position
Returns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Set size of rectangle as (width, height)
A 2D canvas anchored in 3D space that acts as the root of the ScreenTransform hierarchy. ScreenTransform SceneObjects can be placed on the Canvas, and the Canvas can be sized and placed anywhere in 3D space. It is like a painter’s canvas for ScreenTransforms.
Example