Class FVRAlternateGrip
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class FVRAlternateGrip : FVRInteractiveObject
- Inheritance
-
FVRAlternateGrip
- Derived
-
- Inherited Members
-
Constructors
FVRAlternateGrip()
public FVRAlternateGrip()
Fields
DoesBracing
Field Value
- bool
FunctionalityEnabled
public bool FunctionalityEnabled
Field Value
- bool
HasQuickMagEject
public bool HasQuickMagEject
Field Value
- bool
PrimaryObject
public FVRPhysicalObject PrimaryObject
Field Value
- FVRPhysicalObject
m_lastGrabbedInGrip
protected AttachableForegrip m_lastGrabbedInGrip
Field Value
- AttachableForegrip
m_wasGrabbedFromAttachableForegrip
protected bool m_wasGrabbedFromAttachableForegrip
Field Value
- bool
Properties
LastGrabbedInGrip
public AttachableForegrip LastGrabbedInGrip { get; }
Property Value
- AttachableForegrip
Methods
Awake()
protected override void Awake()
BeginInteraction(FVRViveHand)
public override void BeginInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
BeginInteractionFromAttachedGrip(AttachableForegrip, FVRViveHand)
public void BeginInteractionFromAttachedGrip(AttachableForegrip aGrip, FVRViveHand hand)
Parameters
aGrip
AttachableForegrip
hand
FVRViveHand
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
GetLastGrabbedGrip()
public AttachableForegrip GetLastGrabbedGrip()
Returns
- AttachableForegrip
GetPalmPos(bool)
public Vector3 GetPalmPos(bool isDirectParent)
Parameters
isDirectParent
bool
Returns
- Vector3
HasLastGrabbedGrip()
public bool HasLastGrabbedGrip()
Returns
- bool
IsInteractable()
public override bool IsInteractable()
Returns
- bool
public virtual void PassHandInput(FVRViveHand hand, FVRInteractiveObject o)
Parameters
hand
FVRViveHand
o
FVRInteractiveObject
PlayGrabSound(bool, FVRViveHand)
public override void PlayGrabSound(bool isHard, FVRViveHand hand)
Parameters
isHard
bool
hand
FVRViveHand
TestHandDistance()
public override void TestHandDistance()
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand