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
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Solvers
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 |
MaxIndicatorScale
The maximum scale for the indicator object
Declaration
public float MaxIndicatorScale
Field Value
Type | Description |
---|---|
Single |
MinIndicatorScale
The minimum scale for the indicator object
Declaration
public float MinIndicatorScale
Field Value
Type | Description |
---|---|
Single |
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()
Should be implemented in derived classes, but Solver can be used to flush shared transform to real transform
Declaration
public override void SolverUpdate()
Overrides
Start()
Declaration
protected override void Start()