This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy
| 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. |
| OverlayShape | Specify overlay's shape |
| Texture [] | textures ( ) The left- and right-eye Textures to show in the layer. |
| 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] |
| 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 ( ) |