C# Class OVRTrackerBounds

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

public float animDistance
return float

animSpeed public_oe property

public float animSpeed
return float

arrowDistance public_oe property

public float arrowDistance
return float

arrowObject public_oe property

public GameObject arrowObject
return GameObject

arrowOffset public_oe property

public Vector3 arrowOffset
return Vector3

enableArrow public_oe property

public bool enableArrow
return bool

enableFade public_oe property

public bool enableFade
return bool

enableIcons public_oe property

public bool enableIcons
return bool

fadeColor public_oe property

public Color fadeColor
return Color

iconImage public_oe property

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

iconTextures public_oe property

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

waitTime public_oe property

public float waitTime
return float