C# Class Crosshair3D, VRDesignLab

Inheritance: MonoBehaviour
Show file Open project: VRUX-CO/VRDesignLab Class Usage Examples

Public Properties

Property Type Description
fixedDepth float
kCrosshairTargetable string
kRevealerLayer int
matchDepthOnHitMode bool
offsetFromObjects float

Public Methods

Method Description
GetShowReticleOnClick ( ) : bool
SetShowReticleOnClick ( bool showOnClick ) : void

Private Methods

Method Description
Awake ( ) : void
CameraRay ( ) : Ray
EndButtonRevealer ( ) : void
EndHover ( ) : void
FadeOutCrosshair ( float delay ) : IEnumerator
LateUpdate ( ) : void
SendEventToGameObject ( GameObject go, string eventName ) : void
UpdateButtonRevealer ( ) : void
UpdateCrosshairOnClick ( ) : void
UpdateHoverState ( ) : void

Method Details

GetShowReticleOnClick() public method

public GetShowReticleOnClick ( ) : bool
return bool

SetShowReticleOnClick() public method

public SetShowReticleOnClick ( bool showOnClick ) : void
showOnClick bool
return void

Property Details

fixedDepth public property

public float fixedDepth
return float

kCrosshairTargetable public static property

public static string kCrosshairTargetable
return string

kRevealerLayer public static property

public static int kRevealerLayer
return int

matchDepthOnHitMode public property

public bool matchDepthOnHitMode
return bool

offsetFromObjects public property

public float offsetFromObjects
return float