API reference
API reference
Select your platform
No SDKs available
No versions available

OVROverlayCanvas Class

Member Enumerations

Enumeration DrawMode

Opaque
= 0
OpaqueWithClip
= 1
Transparent
= 2
TransparentDefaultAlpha
= 2
TransparentCorrectAlpha
= 3
AlphaToMask
= 4

Enumeration CanvasShape

Flat
No description available
Curved
No description available

Properties

int CanvasRenderLayer[Get]
bool ShouldScaleViewport[Get]
bool IsCanvasPriority[Get]
bool ShouldShowImposter[Get]
bool overlayEnabled[Get]
OVROverlay Overlay[Get]

Fields

RectTransform rectTransform[Get]
int maxTextureSize[Get]
bool manualRedraw[Get]
int renderInterval[Get]
int renderIntervalFrameOffset[Get]
bool expensive[Get]
int layer[Get]
DrawMode opacity[Get]
CanvasShape shape[Get]
float curveRadius[Get]
bool overlapMask[Get]
OVROverlay.OverlayType overlayType[Get]

Member Functions

void UpdateOverlaySettings ( )
float? GetViewPriorityScore ( )
virtual override Ray TransformRay
( Ray ray )
void SetFrameDirty ( )
void SetCanvasLayer
( int layer,
bool forceUpdate )

Protected Functions

virtual bool ShouldRender ( )
Did you find this page helpful?