OculusSampleFramework.RayToolView Class Reference

Visual portion of ray tool. More...

Inheritance diagram for OculusSampleFramework.RayToolView:
OculusSampleFramework.InteractableToolView

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]
 
- Properties inherited from OculusSampleFramework.InteractableToolView
InteractableTool InteractableTool [get]
 
bool EnableState [get, set]
 
bool ToolActivateState [get, set]
 

Detailed Description

Visual portion of ray tool.

Member Function Documentation

◆ GetPointOnBezierCurve()

static Vector3 OculusSampleFramework.RayToolView.GetPointOnBezierCurve ( Vector3  p0,
Vector3  p1,
Vector3  p2,
Vector3  p3,
float  t 
)
static

Returns point on four-point Bezier curve.

Parameters
p0Beginning point.
p1t=1/3 point.
p2t=2/3 point.
p3End point.
tInterpolation parameter.
Returns
Point along Bezier curve.

◆ SetFocusedInteractable()

void OculusSampleFramework.RayToolView.SetFocusedInteractable ( Interactable  interactable)

Property Documentation

◆ EnableState

bool OculusSampleFramework.RayToolView.EnableState
getset

◆ InteractableTool

InteractableTool OculusSampleFramework.RayToolView.InteractableTool
getset

◆ ToolActivateState

bool OculusSampleFramework.RayToolView.ToolActivateState
getset

The documentation for this class was generated from the following file:
  • Oculus/SampleFramework/Core/HandsInteraction/Scripts/Tools/RayToolView.cs