Class InBetween
InBetween solver positions an object in-between two tracked transforms.
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Solvers
Assembly: cs.temp.dll.dll
Syntax
public class InBetween : Solver, MonoBehaviour
Properties
PartwayOffset
Distance along the center line the object will be located. 0.5 is halfway, 1.0 is at the first transform, 0.0 is at the second transform.
Declaration
public float PartwayOffset { get; set; }
Property Value
Type | Description |
---|---|
Single |
PartwayOffset
Distance along the center line the object will be located. 0.5 is halfway, 1.0 is at the first transform, 0.0 is at the second transform.
Declaration
public float PartwayOffset { get; set; }
Property Value
Type | Description |
---|---|
Single |
SecondTrackedObjectType
Tracked object to calculate position and orientation for the second object. If you want to manually override and use a scene object, use the TransformTarget field.
Declaration
public TrackedObjectType SecondTrackedObjectType { get; set; }
Property Value
Type | Description |
---|---|
TrackedObjectType |
SecondTrackedObjectType
Tracked object to calculate position and orientation for the second object. If you want to manually override and use a scene object, use the TransformTarget field.
Declaration
public TrackedObjectType SecondTrackedObjectType { get; set; }
Property Value
Type | Description |
---|---|
TrackedObjectType |
SecondTransformOverride
This transform overrides any Tracked Object as the second point for the In Between
Declaration
public Transform SecondTransformOverride { get; set; }
Property Value
Type | Description |
---|---|
Transform |
SecondTransformOverride
This transform overrides any Tracked Object as the second point for the In Between
Declaration
public Transform SecondTransformOverride { get; set; }
Property Value
Type | Description |
---|---|
Transform |
TrackedObjectForSecondTransform
Tracked object to calculate position and orientation for the second object. If you want to manually override and use a scene object, use the TransformTarget field.
Declaration
public TrackedObjectType TrackedObjectForSecondTransform { get; set; }
Property Value
Type | Description |
---|---|
TrackedObjectType |
TrackedObjectForSecondTransform
Tracked object to calculate position and orientation for the second object. If you want to manually override and use a scene object, use the TransformTarget field.
Declaration
public TrackedObjectType TrackedObjectForSecondTransform { get; set; }
Property Value
Type | Description |
---|---|
TrackedObjectType |
Methods
OnValidate()
Declaration
protected void OnValidate()
OnValidate()
Declaration
protected void OnValidate()
SolverUpdate()
Declaration
public override void SolverUpdate()
Overrides
SolverUpdate()
Declaration
public override void SolverUpdate()
Overrides
Start()
Declaration
protected override void Start()
Overrides
Start()
Declaration
protected override void Start()