Class ToolPanel
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class ToolPanel : ToolBoxTool
- Inheritance
-
ToolPanel
- Derived
- Inherited Members
Constructors
ToolPanel()
public ToolPanel()
Fields
AudEvent_PenGrab
public AudioEvent AudEvent_PenGrab
Field Value
AudEvent_PenMount
public AudioEvent AudEvent_PenMount
Field Value
AudEvent_ScreenOff
public AudioEvent AudEvent_ScreenOff
Field Value
AudEvent_ScreenOn
public AudioEvent AudEvent_ScreenOn
Field Value
InterfaceCore
public GameObject InterfaceCore
Field Value
- GameObject
LaserPoint1
public Transform LaserPoint1
Field Value
- Transform
LaserPoint2
public Transform LaserPoint2
Field Value
- Transform
OtherTP
public ToolPanel OtherTP
Field Value
ReturnBox1
public Transform ReturnBox1
Field Value
- Transform
ReturnBox2
public Transform ReturnBox2
Field Value
- Transform
Stylus
public ToolPanelStylus Stylus
Field Value
StylusPrefab
public GameObject StylusPrefab
Field Value
- GameObject
StylusSensor1
public ToolPanelStylusSensor StylusSensor1
Field Value
StylusSensor2
public ToolPanelStylusSensor StylusSensor2
Field Value
Methods
AttemptToGrabStylus(FVRViveHand, ToolPanelStylusSensor)
public bool AttemptToGrabStylus(FVRViveHand hand, ToolPanelStylusSensor sensor)
Parameters
hand
FVRViveHandsensor
ToolPanelStylusSensor
Returns
CanSelect(FVRPhysicalObject)
public virtual bool CanSelect(FVRPhysicalObject o)
Parameters
Returns
CopyFrom()
public void CopyFrom()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
EndInteractionIntoInventorySlot(FVRViveHand, FVRQuickBeltSlot)
public override void EndInteractionIntoInventorySlot(FVRViveHand hand, FVRQuickBeltSlot slot)
Parameters
hand
FVRViveHandslot
FVRQuickBeltSlot
GrabStylus(ToolPanelStylus)
public void GrabStylus(ToolPanelStylus s)
Parameters
OnDestroy()
public override void OnDestroy()
OnDropped()
public virtual void OnDropped()
OnStowed()
public override void OnStowed()
ReturnStylus()
public void ReturnStylus()
SetPointedStylusObject(FVRPhysicalObject)
public virtual void SetPointedStylusObject(FVRPhysicalObject p)
Parameters
StylusClicked(ToolPanelStylus)
public virtual void StylusClicked(ToolPanelStylus stylus)
Parameters
stylus
ToolPanelStylus