Class Orbital
Provides a solver that follows the TrackedObject/TargetTransform in an orbital motion.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Solvers
Assembly: cs.temp.dll.dll
Syntax
public class Orbital : Solver
Properties
LocalOffset
XYZ offset for this object in relation to the TrackedObject/TargetTransform.
Declaration
public Vector3 LocalOffset { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
Mixing local and world offsets is not recommended.
OrientationType
The desired orientation of this object.
Declaration
public SolverOrientationType OrientationType { get; set; }
Property Value
Type | Description |
---|---|
SolverOrientationType |
Remarks
Default sets the object to face the TrackedObject/TargetTransform. CameraFacing sets the object to always face the user.
TetherAngleSteps
The division of steps this object can tether to. Higher the number, the more snapple steps.
Declaration
public int TetherAngleSteps { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
UseAngleStepping
Lock the rotation to a specified number of steps around the tracked object.
Declaration
public bool UseAngleStepping { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
WorldOffset
XYZ offset for this object in worldspace, best used with the YawOnly orientationType.
Declaration
public Vector3 WorldOffset { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Remarks
Mixing local and world offsets is not recommended.
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()