Inheritance diagram for OVRPassthroughLayer:

Public Types

enum  ProjectionSurfaceType { ProjectionSurfaceType.Reconstructed, ProjectionSurfaceType.UserDefined }
 
enum  ColorMapEditorType { ColorMapEditorType.None, ColorMapEditorType.Controls, ColorMapEditorType.Custom }
 

Public Member Functions

void AddSurfaceGeometry (GameObject obj, bool updateTransform=false)
 
void AddSurfaceGeometry (GameObject obj, Matrix4x4 worldToTrackingSpace, bool updateTransform=false)
 
void RemoveSurfaceGeometry (GameObject obj)
 
bool IsSurfaceGeometry (GameObject obj)
 
void SetColorMap (Color[] values)
 
void SetColorMapControls (float contrast, float brightness=0.0f, float posterize=0.0f, Gradient gradient=null)
 
void SetColorMapMonochromatic (byte[] values)
 
void DisableColorMap ()
 

Public Attributes

ProjectionSurfaceType projectionSurfaceType = ProjectionSurfaceType.Reconstructed
 
OVROverlay.OverlayType overlayType = OVROverlay.OverlayType.Overlay
 
int compositionDepth = 0
 
bool hidden = false
 
bool overridePerLayerColorScaleAndOffset = false
 
Vector4 colorScale = Vector4.one
 
Vector4 colorOffset = Vector4.zero
 
Gradient colorMapEditorGradient = CreateNeutralColorMapGradient()
 
float colorMapEditorContrast
 
float colorMapEditorBrightness
 
float colorMapEditorPosterize
 

Properties

float textureOpacity [get, set]
 
bool edgeRenderingEnabled [get, set]
 
Color edgeColor [get, set]
 
ColorMapEditorType colorMapEditorType [get, set]
 

Member Enumeration Documentation

◆ ColorMapEditorType

Enumerator
None 
Controls 
Custom 

◆ ProjectionSurfaceType

Enumerator
Reconstructed 
UserDefined 

Member Function Documentation

◆ AddSurfaceGeometry() [1/2]

void OVRPassthroughLayer.AddSurfaceGeometry ( GameObject  obj,
bool  updateTransform = false 
)

◆ AddSurfaceGeometry() [2/2]

void OVRPassthroughLayer.AddSurfaceGeometry ( GameObject  obj,
Matrix4x4  worldToTrackingSpace,
bool  updateTransform = false 
)

◆ DisableColorMap()

void OVRPassthroughLayer.DisableColorMap ( )

◆ IsSurfaceGeometry()

bool OVRPassthroughLayer.IsSurfaceGeometry ( GameObject  obj)

◆ RemoveSurfaceGeometry()

void OVRPassthroughLayer.RemoveSurfaceGeometry ( GameObject  obj)

◆ SetColorMap()

void OVRPassthroughLayer.SetColorMap ( Color []  values)

◆ SetColorMapControls()

void OVRPassthroughLayer.SetColorMapControls ( float  contrast,
float  brightness = 0.0f,
float  posterize = 0.0f,
Gradient  gradient = null 
)

◆ SetColorMapMonochromatic()

void OVRPassthroughLayer.SetColorMapMonochromatic ( byte []  values)

Member Data Documentation

◆ colorMapEditorBrightness

float OVRPassthroughLayer.colorMapEditorBrightness

◆ colorMapEditorContrast

float OVRPassthroughLayer.colorMapEditorContrast

◆ colorMapEditorGradient

Gradient OVRPassthroughLayer.colorMapEditorGradient = CreateNeutralColorMapGradient()

◆ colorMapEditorPosterize

float OVRPassthroughLayer.colorMapEditorPosterize

◆ colorOffset

Vector4 OVRPassthroughLayer.colorOffset = Vector4.zero

◆ colorScale

Vector4 OVRPassthroughLayer.colorScale = Vector4.one

◆ compositionDepth

int OVRPassthroughLayer.compositionDepth = 0

◆ hidden

bool OVRPassthroughLayer.hidden = false

◆ overlayType

OVROverlay.OverlayType OVRPassthroughLayer.overlayType = OVROverlay.OverlayType.Overlay

◆ overridePerLayerColorScaleAndOffset

bool OVRPassthroughLayer.overridePerLayerColorScaleAndOffset = false

◆ projectionSurfaceType

ProjectionSurfaceType OVRPassthroughLayer.projectionSurfaceType = ProjectionSurfaceType.Reconstructed

Property Documentation

◆ colorMapEditorType

ColorMapEditorType OVRPassthroughLayer.colorMapEditorType
getset

◆ edgeColor

Color OVRPassthroughLayer.edgeColor
getset

◆ edgeRenderingEnabled

bool OVRPassthroughLayer.edgeRenderingEnabled
getset

◆ textureOpacity

float OVRPassthroughLayer.textureOpacity
getset

The documentation for this class was generated from the following file: