Class AirgunBarrel
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AirgunBarrel : FVRInteractiveObject
- Inheritance
-
AirgunBarrel
- Inherited Members
Constructors
AirgunBarrel()
public AirgunBarrel()
Fields
AGun
public Airgun AGun
Field Value
Barrel
public Transform Barrel
Field Value
- Transform
Parent
public Transform Parent
Field Value
- Transform
Pump
public Transform Pump
Field Value
- Transform
PumpTarget
public Transform PumpTarget
Field Value
- Transform
RotLimitThreshold
public float RotLimitThreshold
Field Value
RotPumpRestThreshold
public float RotPumpRestThreshold
Field Value
RotPumpThreshold
public float RotPumpThreshold
Field Value
Methods
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
FVRUpdate()
protected override void FVRUpdate()
FlickShut()
public void FlickShut()
GetRot()
public float GetRot()
Returns
GetSignedAngle(Vector3, Vector3, Vector3)
public float GetSignedAngle(Vector3 from, Vector3 to, Vector3 axis)
Parameters
from
Vector3to
Vector3axis
Vector3
Returns
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand