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, OverlayShape.ReconstructionPassthrough = OVRPlugin.OverlayShape.ReconstructionPassthrough, OverlayShape.SurfaceProjectedPassthrough = OVRPlugin.OverlayShape.SurfaceProjectedPassthrough, OverlayShape.Fisheye = OVRPlugin.OverlayShape.Fisheye, OverlayShape.KeyboardHandsPassthrough = OVRPlugin.OverlayShape.KeyboardHandsPassthrough, OverlayShape.KeyboardMaskedHandsPassthrough = OVRPlugin.OverlayShape.KeyboardMaskedHandsPassthrough } Determines the on-screen appearance of a layer. |
enum | OverlayType { } Whether the layer appears behind or infront of other content in the scene. |
currentOverlayType[Get] Specify overlay's type. | |
bool | isDynamic[Get] If true, the texture's content is copied to the compositor each frame. |
bool | isProtectedContent[Get] If true, the layer would be used to present protected content (e.g. |
Rect | srcRectLeft[Get] |
Rect | srcRectRight[Get] |
Rect | destRectLeft[Get] |
Rect | destRectRight[Get] |
bool | invertTextureRects[Get] |
bool | |
bool | |
Vector4 | colorScale[Get] |
Vector4 | colorOffset[Get] |
bool | |
bool | useExpensiveSharpen[Get] |
bool | hidden[Get] |
bool | isExternalSurface[Get] If true, the layer will be created as an external surface. |
int | externalSurfaceWidth[Get] 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[Get] The compositionDepth defines the order of the OVROverlays in composition. |
bool | noDepthBufferTesting[Get] The noDepthBufferTesting will stop layer's depth buffer compositing even if the engine has "Depth buffer sharing" enabled on Rift. |
OVRPlugin.EyeTextureFormat | layerTextureFormat[Get] |
currentOverlayShape[Get] Specify overlay's shape. | |
Texture[] | textures[Get] The left- and right-eye Textures to show in the layer. |
bool | isAlphaPremultiplied[Get] |
bool | useBicubicFiltering[Get] |
bool | |
bool | |
bool | useEfficientSharpen[Get] |
bool | |
System.IntPtr | The Surface object (Android only). |
ExternalSurfaceObjectCreated | Will be triggered after externalSurfaceTextueObject get created. |
bool | previewInEditor[Get] Preview the overlay in the editor using a mesh renderer. |
int | layerId[Get] |
OVRPlugin.LayerLayout | layout[Get] |
bool | isOverlayVisible[Get] |
int | texturesPerStage[Get] |
static string | OpenVROverlayKey[Get] |
IntPtr[] | texturePtrs[Get] |
bool | isOverridePending[Get] |
layerTextures[Get] | |
OVRPlugin.LayerDesc | layerDesc[Get] |
int | stageCount[Get] |
int | layerIndex[Get] |
GCHandle | layerIdHandle[Get] |
IntPtr | layerIdPtr[Get] |
int | frameIndex[Get] |
int | prevFrameIndex[Get] |
Renderer | rend[Get] |
static OVROverlay[] | instances[Get] |
static Material | tex2DMaterial[Get] |
static readonly Material[] | cubeMaterial[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 | |
void |
static bool | NeedsTexturesForShape ( OverlayShape shape ) |
bool | CreateLayer ( int mipLevels, int sampleCount, OVRPlugin.EyeTextureFormat etFormat, int flags, OVRPlugin.Sizei size, OVRPlugin.OverlayShape shape ) |
bool | |
void | |
void | DestroyLayer ( ) |
bool | |
OVRPlugin.LayerDesc | |
Rect | |
void | |
bool | |
bool | SubmitLayer ( bool overlay, bool headLocked, bool noDepthBufferTesting, OVRPose pose, Vector3 scale, int frameIndex ) |
void |
static bool | IsPassthroughShape ( OverlayShape shape ) |
Quad | = OVRPlugin.OverlayShape.Quad |
Cylinder | = OVRPlugin.OverlayShape.Cylinder |
Cubemap | = OVRPlugin.OverlayShape.Cubemap |
OffcenterCubemap | = OVRPlugin.OverlayShape.OffcenterCubemap |
Equirect | = OVRPlugin.OverlayShape.Equirect |
ReconstructionPassthrough | = OVRPlugin.OverlayShape.ReconstructionPassthrough |
SurfaceProjectedPassthrough | = OVRPlugin.OverlayShape.SurfaceProjectedPassthrough |
Fisheye | = OVRPlugin.OverlayShape.Fisheye |
KeyboardHandsPassthrough | = OVRPlugin.OverlayShape.KeyboardHandsPassthrough |
KeyboardMaskedHandsPassthrough | = OVRPlugin.OverlayShape.KeyboardMaskedHandsPassthrough |
None | |
Underlay | |
Overlay |
OverlayType OVROverlay.currentOverlayType |
---|
Specify overlay's type. |
bool OVROverlay.isDynamic |
---|
If true, the texture's content is copied to the compositor each frame. |
bool OVROverlay.isProtectedContent |
---|
If true, the layer would be used to present protected content (e.g. HDCP), the content won't be shown in screenshots or recordings. |
Rect OVROverlay.srcRectLeft |
---|
No description available.
|
Rect OVROverlay.srcRectRight |
---|
No description available.
|
Rect OVROverlay.destRectLeft |
---|
No description available.
|
Rect OVROverlay.destRectRight |
---|
No description available.
|
bool OVROverlay.invertTextureRects |
---|
No description available.
|
bool OVROverlay.overrideTextureRectMatrix |
---|
No description available.
|
bool OVROverlay.overridePerLayerColorScaleAndOffset |
---|
No description available.
|
Vector4 OVROverlay.colorScale |
---|
No description available.
|
Vector4 OVROverlay.colorOffset |
---|
No description available.
|
bool OVROverlay.useExpensiveSuperSample |
---|
No description available.
|
bool OVROverlay.useExpensiveSharpen |
---|
No description available.
|
bool OVROverlay.hidden |
---|
No description available.
|
bool OVROverlay.isExternalSurface |
---|
If true, the layer will be created as an external surface. externalSurfaceObject contains the Surface object. It's effective only on Android. |
int OVROverlay.externalSurfaceWidth |
---|
The width which will be used to create the external surface. It's effective only on Android. |
int OVROverlay.externalSurfaceHeight |
---|
The height which will be used to create the external surface. It's effective only on Android. |
int OVROverlay.compositionDepth |
---|
The compositionDepth defines the order of the OVROverlays in composition. The overlay/underlay with smaller compositionDepth would be composited in the front of the overlay/underlay with larger compositionDepth. |
bool OVROverlay.noDepthBufferTesting |
---|
The noDepthBufferTesting will stop layer's depth buffer compositing even if the engine has "Depth buffer sharing" enabled on Rift. |
OVRPlugin.EyeTextureFormat OVROverlay.layerTextureFormat |
---|
No description available.
|
OverlayShape OVROverlay.currentOverlayShape |
---|
Specify overlay's shape. |
Texture [] OVROverlay.textures |
---|
The left- and right-eye Textures to show in the layer. Note: If you need to change the texture on a per-frame basis, please use OverrideOverlayTextureInfo(..) to avoid caching issues. |
bool OVROverlay.isAlphaPremultiplied |
---|
No description available.
|
bool OVROverlay.useBicubicFiltering |
---|
No description available.
|
bool OVROverlay.useLegacyCubemapRotation |
---|
No description available.
|
bool OVROverlay.useEfficientSupersample |
---|
No description available.
|
bool OVROverlay.useEfficientSharpen |
---|
No description available.
|
bool OVROverlay.useAutomaticFiltering |
---|
No description available.
|
System.IntPtr OVROverlay.externalSurfaceObject |
---|
The Surface object (Android only). |
ExternalSurfaceObjectCreated OVROverlay.externalSurfaceObjectCreated |
---|
Will be triggered after externalSurfaceTextueObject get created. |
bool OVROverlay.previewInEditor |
---|
Preview the overlay in the editor using a mesh renderer. |
int OVROverlay.layerId |
---|
No description available.
|
OVRPlugin.LayerLayout OVROverlay.layout |
---|
No description available.
|
bool OVROverlay.isOverlayVisible |
---|
No description available.
|
int OVROverlay.texturesPerStage |
---|
No description available.
|
string OVROverlay.OpenVROverlayKey |
---|
No description available.
|
IntPtr [] OVROverlay.texturePtrs |
---|
No description available.
|
bool OVROverlay.isOverridePending |
---|
No description available.
|
LayerTexture [] OVROverlay.layerTextures |
---|
No description available.
|
OVRPlugin.LayerDesc OVROverlay.layerDesc |
---|
No description available.
|
int OVROverlay.stageCount |
---|
No description available.
|
int OVROverlay.layerIndex |
---|
No description available.
|
GCHandle OVROverlay.layerIdHandle |
---|
No description available.
|
IntPtr OVROverlay.layerIdPtr |
---|
No description available.
|
int OVROverlay.frameIndex |
---|
No description available.
|
int OVROverlay.prevFrameIndex |
---|
No description available.
|
Renderer OVROverlay.rend |
---|
No description available.
|
OVROverlay [] OVROverlay.instances |
---|
No description available.
|
Material OVROverlay.tex2DMaterial |
---|
No description available.
|
readonly Material [] OVROverlay.cubeMaterial |
---|
No description available.
|
delegate void OVROverlay.ExternalSurfaceObjectCreated ( ) |
---|
No description available.
|
void OVROverlay.OverrideOverlayTextureInfo ( Texture srcTexture, IntPtr nativePtr, UnityEngine.XR.XRNode node ) |
---|
Use this function to set texture and texNativePtr when app is running GetNativeTexturePtr is a slow behavior, the value should be pre-cached. |
void OVROverlay.SetSrcDestRects ( Rect srcLeft, Rect srcRight, Rect destLeft, Rect destRight ) |
---|
Sets the source and dest rects for both eyes. Source explains what portion of the source texture is used, and dest is what portion of the destination texture is rendered into. |
void OVROverlay.UpdateTextureRectMatrix ( ) |
---|
No description available.
|
void OVROverlay.SetPerLayerColorScaleAndOffset ( Vector4 scale, Vector4 offset ) |
---|
No description available.
|
void OVROverlay.ResetEditorPreview ( ) |
---|
No description available.
|
static bool OVROverlay.NeedsTexturesForShape ( OverlayShape shape ) |
---|
No description available.
|
bool OVROverlay.CreateLayer ( int mipLevels, int sampleCount, OVRPlugin.EyeTextureFormat etFormat, int flags, OVRPlugin.Sizei size, OVRPlugin.OverlayShape shape ) |
---|
No description available.
|
bool OVROverlay.CreateLayerTextures ( bool useMipmaps, OVRPlugin.Sizei size, bool isHdr ) |
---|
No description available.
|
void OVROverlay.DestroyLayerTextures ( ) |
---|
No description available.
|
void OVROverlay.DestroyLayer ( ) |
---|
No description available.
|
bool OVROverlay.LatchLayerTextures ( ) |
---|
No description available.
|
OVRPlugin.LayerDesc OVROverlay.GetCurrentLayerDesc ( ) |
---|
No description available.
|
Rect OVROverlay.GetBlitRect ( int eyeId, int width, int height, bool invertRect ) |
---|
No description available.
|
void OVROverlay.BlitSubImage ( Texture src, int width, int height, Material mat, Rect rect ) |
---|
No description available.
|
bool OVROverlay.PopulateLayer ( int mipLevels, bool isHdr, OVRPlugin.Sizei size, int sampleCount, int stage ) |
---|
No description available.
|
bool OVROverlay.SubmitLayer ( bool overlay, bool headLocked, bool noDepthBufferTesting, OVRPose pose, Vector3 scale, int frameIndex ) |
---|
No description available.
|
void OVROverlay.SetupEditorPreview ( ) |
---|
No description available.
|
static bool OVROverlay.IsPassthroughShape ( OverlayShape shape ) |
---|
No description available.
|