Class DirectionalIndicator
This solver determines the position and orientation of an object as a directional indicator. From the point of reference of the SolverHandler Tracked Target, this indicator will orient towards the DirectionalTarget supplied. If the Directional Target is deemed within view of our frame of reference, then all renderers under this Solver will be disabled. They will be enabled otherwise
Namespace: Microsoft.MixedReality.Toolkit.Experimental.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class DirectionalIndicator : Solver
Fields
DirectionalTarget
The GameObject transform to point the indicator towards when this object is not in view. The frame of reference for viewing is defined by the Solver Handler Tracked Target Type
Declaration
public Transform DirectionalTarget
Field Value
Type | Description |
---|---|
Transform |
ViewOffset
The offset from center to place the indicator. If frame of reference is the camera, then the object will be this distance from center of screen
Declaration
public float ViewOffset
Field Value
Type | Description |
---|---|
Single |
VisibilityScaleFactor
Multiplier factor to increase or decrease FOV range for testing if object is visible and thus turn off indicator
Declaration
public float VisibilityScaleFactor
Field Value
Type | Description |
---|---|
Single |
Methods
SolverUpdate()
Declaration
public override void SolverUpdate()
Start()
Declaration
protected override void Start()