enum | OverlayShape { OverlayShape.Quad = OVRPlugin.OverlayShape.Quad, OverlayShape.Cylinder = OVRPlugin.OverlayShape.Cylinder, OverlayShape.Cubemap = OVRPlugin.OverlayShape.Cubemap, OverlayShape.OffcenterCubemap = OVRPlugin.OverlayShape.OffcenterCubemap, OverlayShape.Equirect = OVRPlugin.OverlayShape.Equirect } Determines the on-screen appearance of a layer. |
enum | OverlayType { } Whether the layer appears behind or infront of other content in the scene. |
OverlayType | Specify overlay's type |
bool | isDynamic ( ) If true, the texture's content is copied to the compositor each frame. |
bool | If true, the layer would be used to present protected content (e.g. |
bool | If true, the layer will be created as an external surface. |
int | The width which will be used to create the external surface. |
int | The height which will be used to create the external surface. |
int | compositionDepth ( ) The compositionDepth defines the order of the OVROverlays in composition. |
OverlayShape | Specify overlay's shape |
Texture [] | textures ( ) The left- and right-eye Textures to show in the layer. |
System.IntPtr | The Surface object (Android only). |
ExternalSurfaceObjectCreated | Will be triggered after externalSurfaceTextueObject get created. |
OverlayShape | prevOverlayShape ( ) |
LayerTexture [] | layerTextures ( ) |
OVRPlugin.LayerDesc | layerDesc ( ) |
int | stageCount ( ) |
int | layerIndex ( ) |
int | layerId ( ) |
GCHandle | layerIdHandle ( ) |
IntPtr | layerIdPtr ( ) |
int | frameIndex ( ) |
int | prevFrameIndex ( ) |
Renderer | rend ( ) |
IntPtr [] | texturePtrs ( ) |
bool |
const int | maxInstances ( ) |
static OVROverlay [] | instances ( ) |
static Material | tex2DMaterial ( ) |
static Material | cubeMaterial ( ) |
OVRPlugin.LayerLayout | layout ( ) [Get] |
int | texturesPerStage ( ) [Get] |
delegate void | |
void | Use this function to set texture and texNativePtr when app is running GetNativeTexturePtr is a slow behavior, the value should be pre-cached |
bool | CreateLayer ( int mipLevels, int sampleCount, OVRPlugin.EyeTextureFormat etFormat, int flags, OVRPlugin.Sizei size, OVRPlugin.OverlayShape shape ) |
bool | |
void | |
void | DestroyLayer ( ) |
bool | |
OVRPlugin.LayerDesc | |
bool | |
bool | |
void | Awake ( ) |
void | OnEnable ( ) |
void | OnDisable ( ) |
void | OnDestroy ( ) |
bool | |
void | LateUpdate ( ) |