Class BoltActionRifle_Handle
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class BoltActionRifle_Handle : FVRInteractiveObject
- Inheritance
-
BoltActionRifle_Handle
- Inherited Members
-
Constructors
BoltActionRifle_Handle()
public BoltActionRifle_Handle()
Fields
BaseRotOffset
public float BaseRotOffset
Field Value
- float
BoltActionHandle
public Transform BoltActionHandle
Field Value
- Transform
BoltActionHandleRoot
public Transform BoltActionHandleRoot
Field Value
- Transform
ExtraRotationPiece
public Transform ExtraRotationPiece
Field Value
- Transform
HandPosOffset
public Vector3 HandPosOffset
Field Value
- Vector3
HandleRot
public BoltActionRifle_Handle.BoltActionHandleRot HandleRot
Field Value
- BoltActionRifle_Handle.BoltActionHandleRot
HandleState
public BoltActionRifle_Handle.BoltActionHandleState HandleState
Field Value
- BoltActionRifle_Handle.BoltActionHandleState
LastHandleRot
public BoltActionRifle_Handle.BoltActionHandleRot LastHandleRot
Field Value
- BoltActionRifle_Handle.BoltActionHandleRot
LastHandleState
public BoltActionRifle_Handle.BoltActionHandleState LastHandleState
Field Value
- BoltActionRifle_Handle.BoltActionHandleState
MaxRot
Field Value
- float
MinRot
Field Value
- float
Point_Forward
public Transform Point_Forward
Field Value
- Transform
Point_Rearward
public Transform Point_Rearward
Field Value
- Transform
Rifle
public BoltActionRifle Rifle
Field Value
- BoltActionRifle
UnlockThreshold
public float UnlockThreshold
Field Value
- float
UsesExtraRotationPiece
public bool UsesExtraRotationPiece
Field Value
- bool
UsesQuickRelease
public bool UsesQuickRelease
Field Value
- bool
Methods
Awake()
protected override void Awake()
DriveBolt(float)
public void DriveBolt(float amount)
Parameters
amount
float
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
FVRUpdate()
protected override void FVRUpdate()
IsInteractable()
public override bool IsInteractable()
Returns
- bool
TPInitiate()
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand