Class FixedRotationToUserConstraint
Component for fixing the rotation of a manipulated object relative to the user
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class FixedRotationToUserConstraint : TransformConstraint
Properties
ConstraintType
Declaration
public override TransformFlags ConstraintType { get; }
Property Value
Type | Description |
---|---|
TransformFlags |
Overrides
Methods
ApplyConstraint(ref MixedRealityTransform)
Updates the objects rotation so that the rotation relative to the user is fixed
Declaration
public override void ApplyConstraint(ref MixedRealityTransform transform)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityTransform | transform |
Overrides
Initialize(MixedRealityTransform)
Intended to be called on manipulation started
Declaration
public override void Initialize(MixedRealityTransform worldPose)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityTransform | worldPose |