Table of Contents

Class RevolvingShotgun

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class RevolvingShotgun : FVRFireArm
Inheritance
RevolvingShotgun
Inherited Members

Constructors

RevolvingShotgun()

public RevolvingShotgun()

Fields

Chambers

public FVRFireArmChamber[] Chambers

Field Value

FVRFireArmChamber[]

CyclinderMountPoint

public Transform CyclinderMountPoint

Field Value

Transform

CylinderLoaded

public bool CylinderLoaded

Field Value

bool

CylinderPrefab

public GameObject CylinderPrefab

Field Value

GameObject

DoesFiringRecock

public bool DoesFiringRecock

Field Value

bool

FireSelectorSwitch

public Transform FireSelectorSwitch

Field Value

Transform

FireSelector_Axis

public FVRPhysicalObject.Axis FireSelector_Axis

Field Value

FVRPhysicalObject.Axis

FireSelector_InterpStyle

public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle

Field Value

FVRPhysicalObject.InterpStyle

FireSelector_Modes

public RevolvingShotgun.FireSelectorMode[] FireSelector_Modes

Field Value

FireSelectorMode[]

HasTrigger

public bool HasTrigger

Field Value

bool

IsCylinderRotClockwise

public bool IsCylinderRotClockwise

Field Value

bool

NumChambers

public int NumChambers

Field Value

int

ProxyCylinder

public Transform ProxyCylinder

Field Value

Transform

SLType

public Speedloader.SpeedLoaderType SLType

Field Value

Speedloader.SpeedLoaderType

Trigger

public Transform Trigger

Field Value

Transform

TriggerAxis

public FVRPhysicalObject.Axis TriggerAxis

Field Value

FVRPhysicalObject.Axis

TriggerFiringThreshold

public float TriggerFiringThreshold

Field Value

float

TriggerInterpStyle

public FVRPhysicalObject.InterpStyle TriggerInterpStyle

Field Value

FVRPhysicalObject.InterpStyle

TriggerResetThreshold

public float TriggerResetThreshold

Field Value

float

Trigger_ForwardValue

public float Trigger_ForwardValue

Field Value

float

Trigger_RearwardValue

public float Trigger_RearwardValue

Field Value

float

Properties

CurChamber

public int CurChamber { get; set; }

Property Value

int

FireSelectorModeIndex

public int FireSelectorModeIndex { get; }

Property Value

int

Methods

Awake()

protected override void Awake()

EjectCylinder()

public Speedloader EjectCylinder()

Returns

Speedloader

FVRUpdate()

protected override void FVRUpdate()

GetClosestChamberIndex()

public int GetClosestChamberIndex()

Returns

int

GetLocalRotationFromCylinder(int)

public Quaternion GetLocalRotationFromCylinder(int cylinder)

Parameters

cylinder int

Returns

Quaternion

LoadCylinder(Speedloader)

public bool LoadCylinder(Speedloader s)

Parameters

s Speedloader

Returns

bool

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand