CanvasControllerWorldSpaceContainer

public class CanvasControllerWorldSpaceContainer : MonoBehaviour;

Description

A world space container for Canvas Controllers.

A canvas controller world space container is used to present canvas controllers in world space. You can either create one in your scene and pass it to PresentInitialCanvasController or set a storyboard's presentation space to World Space, which will create one automatically for you. The world space container gives you a world canvas, allowing you to freely position your container in world space. Subsequently presented canvas controllers (or storyboards) will then be contained, or embedded, within the world canvas.

Properties
mask A rectangular mask used to clip the contents of the world canvas to its rect.
worldCamera The camera used to render the world space UI. By default, this will be the scene's main camera.
worldCanvas The world canvas within which canvas controllers will be contained, or embedded.
Methods
None

mask

public RectMask2D mask;

Description

A rectangular mask used to clip the contents of the world canvas to its rect.


worldCamera

public Camera worldCamera;

Description

The camera used to render the world space UI. By default, this will be the scene's main camera.


worldCanvas

public Canvas worldCanvas;

Description

The world canvas within which canvas controllers will be contained, or embedded.