C# Class OVRTrackerBounds

Inheritance: MonoBehaviour
Show file Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
animDistance float
animSpeed float
arrowDistance float
arrowObject GameObject
arrowOffset Vector3
enableArrow bool
enableFade bool
enableIcons bool
fadeColor Color
iconImage UnityEngine.UI.RawImage
iconTextures UnityEngine.Texture2D[]
waitTime float

Public Methods

Method Description
SetEnableArrow ( bool b ) : void
SetEnableFade ( bool b ) : void

Private Methods

Method Description
Awake ( ) : void
ComputePlanes ( ) : void

Computes frustum planes from tracker frustum parameters.

DistanceToPlanes ( Vector3 p, int &closestPlane ) : float

Computes signed distance to frustum planes as maximum of distance to each plane negative inside volume, positive outside.

OnDestroy ( ) : void
OnRenderObject ( ) : void
SmoothStep ( float a, float b, float x ) : float

Interpolates between a and b with custom smoothing.

Update ( ) : void

Method Details

SetEnableArrow() public method

public SetEnableArrow ( bool b ) : void
b bool
return void

SetEnableFade() public method

public SetEnableFade ( bool b ) : void
b bool
return void

Property Details

animDistance public property

public float animDistance
return float

animSpeed public property

public float animSpeed
return float

arrowDistance public property

public float arrowDistance
return float

arrowObject public property

public GameObject arrowObject
return GameObject

arrowOffset public property

public Vector3 arrowOffset
return Vector3

enableArrow public property

public bool enableArrow
return bool

enableFade public property

public bool enableFade
return bool

enableIcons public property

public bool enableIcons
return bool

fadeColor public property

public Color fadeColor
return Color

iconImage public property

public RawImage,UnityEngine.UI iconImage
return UnityEngine.UI.RawImage

iconTextures public property

public Texture2D[],UnityEngine iconTextures
return UnityEngine.Texture2D[]

waitTime public property

public float waitTime
return float