Class FixedDistanceConstraint
Component for setting the min/max scale values for ObjectManipulator
or BoundsControl
Inheritance
FixedDistanceConstraint
Assembly: cs.temp.dll.dll
public class FixedDistanceConstraint : TransformConstraint
Properties
Transform to fix distance to. Defaults to the head.
Declaration
public Transform ConstraintTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public override TransformFlags ConstraintType { get; }
Property Value
Type |
Description |
TransformFlags |
|
Overrides
Methods
Constrains position such that the distance between pose and
the ConstraintTransform does not change from manipulation start
Declaration
public override void ApplyConstraint(ref MixedRealityTransform transform)
Parameters
Type |
Name |
Description |
MixedRealityTransform |
transform |
|
Overrides
Declaration
public override void Initialize(MixedRealityPose worldPose)
Parameters
Type |
Name |
Description |
MixedRealityPose |
worldPose |
|
Overrides
Declaration
public override void Start()
Overrides