Class FVRViveHand
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class FVRViveHand : MonoBehaviour
- Inheritance
-
FVRViveHand
Constructors
FVRViveHand()
Fields
public SteamVR_Action_Boolean A_Button
Field Value
- SteamVR_Action_Boolean
AudEvent_Grabbity_Flick
public AudioEvent AudEvent_Grabbity_Flick
Field Value
- AudioEvent
AudEvent_Grabbity_Grab
public AudioEvent AudEvent_Grabbity_Grab
Field Value
- AudioEvent
AudEvent_Grabbity_Hover
public AudioEvent AudEvent_Grabbity_Hover
Field Value
- AudioEvent
public SteamVR_Action_Boolean B_Button
Field Value
- SteamVR_Action_Boolean
BlueLaser
public GameObject BlueLaser
Field Value
- GameObject
BracingMask
public LayerMask BracingMask
Field Value
- LayerMask
Buzzer
Field Value
- FVRHaptics
CMode
Field Value
- ControlMode
Collider_Fingers
public SphereCollider Collider_Fingers
Field Value
- SphereCollider
Collider_Palm
public SphereCollider Collider_Palm
Field Value
- SphereCollider
DMode
Field Value
- DisplayMode
DebugPrintOutput
public bool DebugPrintOutput
Field Value
- bool
DeviceName
Field Value
- string
DisplayOut
Field Value
- Text
Display_Controller
public GameObject Display_Controller
Field Value
- GameObject
Display_Controller_Cosmos
public GameObject Display_Controller_Cosmos
Field Value
- GameObject
Display_Controller_HPR2
public GameObject Display_Controller_HPR2
Field Value
- GameObject
Display_Controller_Index
public GameObject Display_Controller_Index
Field Value
- GameObject
Display_Controller_Quest2
public GameObject Display_Controller_Quest2
Field Value
- GameObject
Display_Controller_RiftS
public GameObject Display_Controller_RiftS
Field Value
- GameObject
Display_Controller_Touch
public GameObject Display_Controller_Touch
Field Value
- GameObject
Display_Controller_Vive
public GameObject Display_Controller_Vive
Field Value
- GameObject
Display_Controller_WMR
public GameObject Display_Controller_WMR
Field Value
- GameObject
Display_InteractionSphere
public GameObject Display_InteractionSphere
Field Value
- GameObject
Display_InteractionSphere_Palm
public GameObject Display_InteractionSphere_Palm
Field Value
- GameObject
GrabLaser
public Transform GrabLaser
Field Value
- Transform
GrabLaserMask
public LayerMask GrabLaserMask
Field Value
- LayerMask
Grabbity_GrabSphere
public Transform Grabbity_GrabSphere
Field Value
- Transform
Grabbity_HoverSphere
public Transform Grabbity_HoverSphere
Field Value
- Transform
public SteamVR_Action_Boolean Grip_Button
Field Value
- SteamVR_Action_Boolean
Grip_Squeeze
public SteamVR_Action_Single Grip_Squeeze
Field Value
- SteamVR_Action_Single
Grip_Touch
public SteamVR_Action_Boolean Grip_Touch
Field Value
- SteamVR_Action_Boolean
HandSource
public SteamVR_Input_Sources HandSource
Field Value
- SteamVR_Input_Sources
Head
Field Value
- Transform
Field Value
- HandInput
IsGripToggle
Field Value
- bool
IsInDemoMode
Field Value
- bool
IsInStreamlinedMode
public bool IsInStreamlinedMode
Field Value
- bool
IsThisTheRightHand
public bool IsThisTheRightHand
Field Value
- bool
LM_Grabbity_Beam
public LayerMask LM_Grabbity_Beam
Field Value
- LayerMask
LM_Grabbity_BeamTrigger
public LayerMask LM_Grabbity_BeamTrigger
Field Value
- LayerMask
LM_Grabbity_Block
public LayerMask LM_Grabbity_Block
Field Value
- LayerMask
LM_RawGrab
public LayerMask LM_RawGrab
Field Value
- LayerMask
MagPose_Index
public Transform MagPose_Index
Field Value
- Transform
MagPose_Rift
public Transform MagPose_Rift
Field Value
- Transform
MagPose_RiftS
public Transform MagPose_RiftS
Field Value
- Transform
MagPose_Vive
public Transform MagPose_Vive
Field Value
- Transform
MagPose_WMR
public Transform MagPose_WMR
Field Value
- Transform
Mode
public FVRViveHand.HandMode Mode
Field Value
- FVRViveHand.HandMode
MovementManager
public FVRMovementManager MovementManager
Field Value
- FVRMovementManager
OtherHand
public FVRViveHand OtherHand
Field Value
- FVRViveHand
public Transform PalmTransform
Field Value
- Transform
PhysTracker
public PhysicsTracker PhysTracker
Field Value
- PhysicsTracker
PointingLaser
public Transform PointingLaser
Field Value
- Transform
PointingLayerMask
public LayerMask PointingLayerMask
Field Value
- LayerMask
PointingLayerMask_UI
public LayerMask PointingLayerMask_UI
Field Value
- LayerMask
public Transform PointingTransform
Field Value
- Transform
Pose
public SteamVR_Action_Pose Pose
Field Value
- SteamVR_Action_Pose
PoseOverride
public Transform PoseOverride
Field Value
- Transform
Primary2Axis_Axes
public SteamVR_Action_Vector2 Primary2Axis_Axes
Field Value
- SteamVR_Action_Vector2
public SteamVR_Action_Boolean Primary2Axis_Button
Field Value
- SteamVR_Action_Boolean
Primary2Axis_Touch
public SteamVR_Action_Boolean Primary2Axis_Touch
Field Value
- SteamVR_Action_Boolean
RedLaser
public GameObject RedLaser
Field Value
- GameObject
SausageFingersPrefab
public GameObject SausageFingersPrefab
Field Value
- GameObject
Secondary2Axis_Axes
public SteamVR_Action_Vector2 Secondary2Axis_Axes
Field Value
- SteamVR_Action_Vector2
public SteamVR_Action_Boolean Secondary2Axis_Button
Field Value
- SteamVR_Action_Boolean
Secondary2Axis_Touch
public SteamVR_Action_Boolean Secondary2Axis_Touch
Field Value
- SteamVR_Action_Boolean
Skeleton
public SteamVR_Action_Skeleton Skeleton
Field Value
- SteamVR_Action_Skeleton
Thumb_Squeeze
public SteamVR_Action_Single Thumb_Squeeze
Field Value
- SteamVR_Action_Single
TouchSphere
public Renderer TouchSphere
Field Value
- Renderer
TouchSphereMat_NoInteractable
public Material TouchSphereMat_NoInteractable
Field Value
- Material
TouchSphere_Palm
public Renderer TouchSphere_Palm
Field Value
- Renderer
TouchSpheteMat_Interactable
public Material TouchSpheteMat_Interactable
Field Value
- Material
TouchpadArrowTarget
public Transform TouchpadArrowTarget
Field Value
- Transform
Trigger_Axis
public SteamVR_Action_Single Trigger_Axis
Field Value
- SteamVR_Action_Single
public SteamVR_Action_Boolean Trigger_Button
Field Value
- SteamVR_Action_Boolean
Trigger_Touch
public SteamVR_Action_Boolean Trigger_Touch
Field Value
- SteamVR_Action_Boolean
Vibration
public SteamVR_Action_Vibration Vibration
Field Value
- SteamVR_Action_Vibration
WholeRig
public Transform WholeRig
Field Value
- Transform
WristMenuTarget
public Transform WristMenuTarget
Field Value
- Transform
WristMenuTarget_Index
public Transform WristMenuTarget_Index
Field Value
- Transform
m_rb
Field Value
- Rigidbody
public Quaternion m_storedInitialPointingTransformDir
Field Value
- Quaternion
public Vector3 m_storedInitialPointingTransformPos
Field Value
- Vector3
Properties
CanMakeGrabReleaseSound
public bool CanMakeGrabReleaseSound { get; }
Property Value
- bool
ClosestPossibleInteractable
public FVRInteractiveObject ClosestPossibleInteractable { get; set; }
Property Value
- FVRInteractiveObject
CurrentHoveredQuickbeltSlot
public FVRQuickBeltSlot CurrentHoveredQuickbeltSlot { get; set; }
Property Value
- FVRQuickBeltSlot
CurrentHoveredQuickbeltSlotDirty
public FVRQuickBeltSlot CurrentHoveredQuickbeltSlotDirty { get; set; }
Property Value
- FVRQuickBeltSlot
CurrentInteractable
public FVRInteractiveObject CurrentInteractable { get; set; }
Property Value
- FVRInteractiveObject
CurrentPointable
public FVRPointable CurrentPointable { get; set; }
Property Value
- FVRPointable
HasInit
public bool HasInit { get; }
Property Value
- bool
Methods
public static void AlignChild(Transform main, Transform child, Transform alignTo)
Parameters
main
Transform
child
Transform
alignTo
Transform
Buzz(FVRHapticBuzzProfile)
public void Buzz(FVRHapticBuzzProfile buzz)
Parameters
buzz
FVRHapticBuzzProfile
public void ConfigureFromControllerDefinition(int i)
Parameters
i
int
DisableWristMenu()
public void DisableWristMenu()
EnableWristMenu(FVRWristMenu2)
public void EnableWristMenu(FVRWristMenu2 menu)
Parameters
menu
FVRWristMenu2
EndInteractionIfHeld(FVRInteractiveObject)
public void EndInteractionIfHeld(FVRInteractiveObject inter)
Parameters
inter
FVRInteractiveObject
FlushFilter()
public void FlushFilter()
public void FlushOverrideIfThis(InputOverrider o)
Parameters
o
InputOverrider
ForceSetInteractable(FVRInteractiveObject)
public void ForceSetInteractable(FVRInteractiveObject inter)
Parameters
inter
FVRInteractiveObject
ForceTubeKick(byte)
public void ForceTubeKick(byte duration)
Parameters
duration
byte
ForceTubeRumble(byte, float)
public void ForceTubeRumble(byte intensity, float duration)
Parameters
intensity
byte
duration
float
GetMagPose()
public Transform GetMagPose()
Returns
- Transform
GetThrowAngularVelWorld()
public Vector3 GetThrowAngularVelWorld()
Returns
- Vector3
GetThrowLinearVelWorld()
public Vector3 GetThrowLinearVelWorld()
Returns
- Vector3
GetWristMenuTarget()
public Transform GetWristMenuTarget()
Returns
- Transform
HandMadeGrabReleaseSound()
public void HandMadeGrabReleaseSound()
HandTriggerExit(Collider, bool)
public void HandTriggerExit(Collider collider, bool isPalm)
Parameters
collider
Collider
isPalm
bool
QuaternionFromMatrix(Matrix4x4)
public static Quaternion QuaternionFromMatrix(Matrix4x4 m)
Parameters
m
Matrix4x4
Returns
- Quaternion
RetrieveObject(FVRPhysicalObject)
public void RetrieveObject(FVRPhysicalObject obj)
Parameters
obj
FVRPhysicalObject
public void SetOverrider(InputOverrider o)
Parameters
o
InputOverrider
SpawnSausageFingers()
public void SpawnSausageFingers()
TestCollider(Collider, bool, bool)
public void TestCollider(Collider collider, bool isEnter, bool isPalm)
Parameters
collider
Collider
isEnter
bool
isPalm
bool
UpdateControllerDefinition()
public void UpdateControllerDefinition()
public void UpdateHandInput()
UpdateWristMenuPosition()
public void UpdateWristMenuPosition()