OculusSampleFramework.RayToolView Class Reference
Visual portion of ray tool. More...
Inheritance diagram for OculusSampleFramework.RayToolView:

Public Member Functions | |
void | SetFocusedInteractable (Interactable interactable) |
Static Public Member Functions | |
static Vector3 | GetPointOnBezierCurve (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
Returns point on four-point Bezier curve. More... | |
Properties | |
bool | EnableState [get, set] |
bool | ToolActivateState [get, set] |
InteractableTool | InteractableTool [get, set] |
![]() | |
InteractableTool | InteractableTool [get] |
bool | EnableState [get, set] |
bool | ToolActivateState [get, set] |
Detailed Description
Visual portion of ray tool.
Member Function Documentation
◆ GetPointOnBezierCurve()
|
static |
Returns point on four-point Bezier curve.
- Parameters
-
p0 Beginning point. p1 t=1/3 point. p2 t=2/3 point. p3 End point. t Interpolation parameter.
- Returns
- Point along Bezier curve.
◆ SetFocusedInteractable()
void OculusSampleFramework.RayToolView.SetFocusedInteractable | ( | Interactable | interactable | ) |
Implements OculusSampleFramework.InteractableToolView.
Property Documentation
◆ EnableState
|
getset |
◆ InteractableTool
|
getset |
◆ ToolActivateState
|
getset |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Core/HandsInteraction/Scripts/Tools/RayToolView.cs