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
Destroys the component.
Returns the SceneObject the component is attached to.
Get size of rectangle as (width, height)
Returns the Transform this component is attached to.
Returns 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.
A root of the 2D ScreenTransform hierarchy in 3D space. Also used to configure unit settings of Orthographic Camera.
Remarks
SceneObjects with ScreenTransform 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.
See
Canvas guide. Screen Transform Overview guide.
Example