C# Class VRInteraction.VRIHand

Inheritance: UnityEngine.MonoBehaviour
Mostra file Open project: TomorrowTodayLabs/VRInteraction Class Usage Examples

Public Properties

Property Type Description
HoldButtonDown bool
HoldButtonPressed bool
HoldButtonUp bool
Rigidbody Rigidbody
UseButtonDown bool
UseButtonPressed bool
UseButtonUp bool

Public Methods

Method Description
DeregisterInteractable ( VRIInteractable interactable ) : void
EndInteraction ( VRIInteractable item ) : void
GetPositionDelta ( ) : Vector3
GetVelocityEstimation ( ) : Vector3

Private Methods

Method Description
Awake ( ) : void
BeginInteraction ( VRIInteractable interactable ) : void
DoSetDeviceIndex ( int index ) : IEnumerator
FixedUpdate ( ) : void
InitializeController ( ) : void
OnTriggerEnter ( Collider collider ) : void
OnTriggerExit ( Collider collider ) : void
OnTriggerStay ( Collider collider ) : void
PickupClosest ( ) : void
SetDeviceIndex ( int index ) : void
SetNontriggerState ( bool state ) : void
SetTriggerState ( bool state ) : void
SetVisibility ( VisibilityLevel visibility ) : void
Update ( ) : void
UpdateVisibilityAndColliders ( ) : void

Method Details

DeregisterInteractable() public method

public DeregisterInteractable ( VRIInteractable interactable ) : void
interactable VRIInteractable
return void

EndInteraction() public method

public EndInteraction ( VRIInteractable item ) : void
item VRIInteractable
return void

GetPositionDelta() public method

public GetPositionDelta ( ) : Vector3
return Vector3

GetVelocityEstimation() public method

public GetVelocityEstimation ( ) : Vector3
return Vector3

Property Details

HoldButtonDown public_oe property

public bool HoldButtonDown
return bool

HoldButtonPressed public_oe property

public bool HoldButtonPressed
return bool

HoldButtonUp public_oe property

public bool HoldButtonUp
return bool

Rigidbody public_oe property

public Rigidbody Rigidbody
return Rigidbody

UseButtonDown public_oe property

public bool UseButtonDown
return bool

UseButtonPressed public_oe property

public bool UseButtonPressed
return bool

UseButtonUp public_oe property

public bool UseButtonUp
return bool