| 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. |
| Rect | srcRectLeft ( ) |
| Rect | srcRectRight ( ) |
| Rect | destRectLeft ( ) |
| Rect | destRectRight ( ) |
| bool | |
| bool | |
| Vector4 | colorScale ( ) |
| Vector4 | colorOffset ( ) |
| 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. |
| bool | The noDepthBufferTesting will stop layer's depth buffer compositing even if the engine has "Depth buffer sharing" enabled on Rift. |
| 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. |
| OVRPlugin.TextureRectMatrixf | |
| OverlayShape | prevOverlayShape ( ) |
| LayerTexture [] | layerTextures ( ) |
| OVRPlugin.LayerDesc | layerDesc ( ) |
| int | stageCount ( ) |
| int | layerIndex ( ) |
| int | layerId ( ) |
| GCHandle | layerIdHandle ( ) |
| IntPtr | layerIdPtr ( ) |
| int | frameIndex ( ) |
| int | prevFrameIndex ( ) |
| Renderer | rend ( ) |
| ulong | |
| Vector4 | |
| Vector2 | OpenVRMouseScale ( ) |
| OVRManager.XRDevice |
| IntPtr [] | texturePtrs ( ) |
| bool |
| const int | maxInstances ( ) |
| static OVROverlay [] | instances ( ) |
| static Material | tex2DMaterial ( ) |
| static Material | cubeMaterial ( ) |
| OVRPlugin.LayerLayout | layout ( ) [Get] |
| int | texturesPerStage ( ) [Get] |
| static string | OpenVROverlayKey ( ) [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 |
| void | Sets the source and dest rects for both eyes. |
| void | |
| void |
| 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 | SubmitLayer ( bool overlay, bool headLocked, bool noDepthBufferTesting, OVRPose pose, Vector3 scale, int frameIndex ) |
| void | Awake ( ) |
| void | OnEnable ( ) |
| void | OnDisable ( ) |
| void | OnDestroy ( ) |
| bool | |
| void | |
| void | LateUpdate ( ) |