ControlPointType Enum
Control points are a representation of some spatial inputs, primarily VR controllers.
Syntax
[Sansar.Script.Interface]
public enum ControlPointType
public enum ControlPointType
Remarks
See:
AgentPrivate.GetControlPointPosition(ControlPointType) to get a control point's position.
AgentPrivate.GetControlPointOrientation(ControlPointType) to get a control point's orientation
AgentPrivate.GetControlPointEnabled(ControlPointType) to see if a control point is enabled.
Members
Member Name | Description |
---|---|
Count | Count of total possible control point types. Control points from 0 to (cCount - 1) are valid, however not all have meaningful data on the server for scripts. |
DesktopGrab | Used when grabbing objects in desktop mode, follows the characters right hand |
GazeTarget | A VR head mounted display (HMD) control point, for the position and direction of the HMD. |
Invalid | An invalid control point. |
LeftTool | Left hand VR controller. |
RightTool | Right hand VR controller. |
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
0 Comments