Tanoda
ThrowableCanDisable Class Reference
Inheritance diagram for ThrowableCanDisable:

Public Member Functions

bool IsAttachedToHand ()
 
bool IsSmall ()
 
bool IsThin ()
 
void ResetPosition (bool silent=false)
 
void ForceHoverBegin ()
 
void ForceHoverEnd ()
 
Hand GetHand ()
 
void ForceDrop ()
 
void ForceDrop (bool returnToStart=false)
 
void ForceAttach ()
 
void ForcePickup ()
 
void ForcePickupLeft ()
 

Public Attributes

Transform attachmentOffsetLeft
 
float delayEventSeconds = 1.0f
 
UnityEvent DelayedOnPickUp
 
bool autoDisableEnableOnDrop = false
 
SteamVR_Action_Boolean forceDropWithController
 
float pickedUpTime = 0.0f
 
Vector3 handRotate
 
Vector3 localOffset = Vector3.zero
 

Protected Member Functions

override void Awake ()
 
void Start ()
 
override void OnAttachedToHand (Hand hand)
 
override void OnHandHoverBegin (Hand hand)
 
override void OnHandHoverEnd (Hand hand)
 
override void HandHoverUpdate (Hand hand)
 

Detailed Description

Definition at line 13 of file ThrowableCanDisable.cs.

Member Function Documentation

◆ Awake()

override void ThrowableCanDisable.Awake ( )
protected

Definition at line 48 of file ThrowableCanDisable.cs.

◆ ForceAttach()

void ThrowableCanDisable.ForceAttach ( )

Definition at line 346 of file ThrowableCanDisable.cs.

◆ ForceDrop() [1/2]

void ThrowableCanDisable.ForceDrop ( )

Definition at line 317 of file ThrowableCanDisable.cs.

◆ ForceDrop() [2/2]

void ThrowableCanDisable.ForceDrop ( bool  returnToStart = false)

Definition at line 322 of file ThrowableCanDisable.cs.

◆ ForceHoverBegin()

void ThrowableCanDisable.ForceHoverBegin ( )

Definition at line 202 of file ThrowableCanDisable.cs.

◆ ForceHoverEnd()

void ThrowableCanDisable.ForceHoverEnd ( )

Definition at line 208 of file ThrowableCanDisable.cs.

◆ ForcePickup()

void ThrowableCanDisable.ForcePickup ( )

Definition at line 370 of file ThrowableCanDisable.cs.

◆ ForcePickupLeft()

void ThrowableCanDisable.ForcePickupLeft ( )

Definition at line 374 of file ThrowableCanDisable.cs.

◆ GetHand()

Hand ThrowableCanDisable.GetHand ( )

Definition at line 312 of file ThrowableCanDisable.cs.

◆ HandHoverUpdate()

override void ThrowableCanDisable.HandHoverUpdate ( Hand  hand)
protected

Definition at line 276 of file ThrowableCanDisable.cs.

◆ IsAttachedToHand()

bool ThrowableCanDisable.IsAttachedToHand ( )

Definition at line 74 of file ThrowableCanDisable.cs.

◆ IsSmall()

bool ThrowableCanDisable.IsSmall ( )

Definition at line 114 of file ThrowableCanDisable.cs.

◆ IsThin()

bool ThrowableCanDisable.IsThin ( )

Definition at line 128 of file ThrowableCanDisable.cs.

◆ OnAttachedToHand()

override void ThrowableCanDisable.OnAttachedToHand ( Hand  hand)
protected

Definition at line 187 of file ThrowableCanDisable.cs.

◆ OnHandHoverBegin()

override void ThrowableCanDisable.OnHandHoverBegin ( Hand  hand)
protected

Definition at line 213 of file ThrowableCanDisable.cs.

◆ OnHandHoverEnd()

override void ThrowableCanDisable.OnHandHoverEnd ( Hand  hand)
protected

Definition at line 241 of file ThrowableCanDisable.cs.

◆ ResetPosition()

void ThrowableCanDisable.ResetPosition ( bool  silent = false)

Definition at line 142 of file ThrowableCanDisable.cs.

◆ Start()

void ThrowableCanDisable.Start ( )
protected

Definition at line 55 of file ThrowableCanDisable.cs.

Member Data Documentation

◆ attachmentOffsetLeft

Transform ThrowableCanDisable.attachmentOffsetLeft

Definition at line 20 of file ThrowableCanDisable.cs.

◆ autoDisableEnableOnDrop

bool ThrowableCanDisable.autoDisableEnableOnDrop = false

Definition at line 31 of file ThrowableCanDisable.cs.

◆ DelayedOnPickUp

UnityEvent ThrowableCanDisable.DelayedOnPickUp

Definition at line 30 of file ThrowableCanDisable.cs.

◆ delayEventSeconds

float ThrowableCanDisable.delayEventSeconds = 1.0f

Definition at line 29 of file ThrowableCanDisable.cs.

◆ forceDropWithController

SteamVR_Action_Boolean ThrowableCanDisable.forceDropWithController

Definition at line 32 of file ThrowableCanDisable.cs.

◆ handRotate

Vector3 ThrowableCanDisable.handRotate

Definition at line 36 of file ThrowableCanDisable.cs.

◆ localOffset

Vector3 ThrowableCanDisable.localOffset = Vector3.zero

Definition at line 254 of file ThrowableCanDisable.cs.

◆ pickedUpTime

float ThrowableCanDisable.pickedUpTime = 0.0f

Definition at line 34 of file ThrowableCanDisable.cs.


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