class
ScreenSpace
Inherits from UnityEngine.MonoBehaviour
Configures a UIBlock hierarchy to render in screen-space.
Properties
AdditionalCameraCount | The number of additional cameras to render to. |
Mode | The FillMode used for resizing UIBlock to fill TargetCamera. |
PlaneDistance | The distance in front of the camera at which to render the Nova content. |
ReferenceResolution | The resolution to use as a reference when resizing the root UIBlock to match the camera's aspect ratio when Mode is set to FixedHeight or FixedWidth. |
TargetCamera | The camera to render to. |
UIBlock | The UIBlock on |
Methods
AddAdditionalCamera | Adds an additional camera to render to, appending to the end of the list. |
GetAdditionalCamera | Gets the additional camera at the specified index. |
RemoveAdditionalCamera | Removes the additional camera at the specified index. The remaining cameras in the list will be renumbered to replace the removed item. |
SetAdditionalCamera | Sets the additional camera at the specified index. |
Events
OnPostCameraSync | Event that is fired after the ScreenSpace finishes updating its position, scale, etc. to match the camera. |