mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    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

    Inheritance
    Object
    DirectionalIndicator
    Implements
    Solver
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class DirectionalIndicator : Solver, 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

    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

    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

    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()

    SolverUpdate()

    Declaration
    public override void SolverUpdate()

    Start()

    Declaration
    protected override void Start()

    Start()

    Declaration
    protected override void Start()

    Implements

    Solver
    In This Article
    • Fields
      • DirectionalTarget
      • DirectionalTarget
      • ViewOffset
      • ViewOffset
      • VisibilityScaleFactor
      • VisibilityScaleFactor
    • Methods
      • SolverUpdate()
      • SolverUpdate()
      • Start()
      • Start()
    • Implements
    Back to top Generated by DocFX