mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class FixedRotationToWorldConstraint

    Component for fixing the rotation of a manipulated object relative to the world

    Inheritance
    Object
    TransformConstraint
    FixedRotationToWorldConstraint
    Inherited Members
    TransformConstraint.TargetTransform
    TransformConstraint.HandType
    TransformConstraint.ProximityType
    TransformConstraint.worldPoseOnManipulationStart
    TransformConstraint.Start()
    TransformConstraint.Initialize(MixedRealityPose)
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class FixedRotationToWorldConstraint : TransformConstraint

    Properties

    ConstraintType

    Declaration
    public override TransformFlags ConstraintType { get; }
    Property Value
    Type Description
    TransformFlags
    Overrides
    TransformConstraint.ConstraintType

    Methods

    ApplyConstraint(ref MixedRealityTransform)

    Fix rotation to the rotation from manipulation start

    Declaration
    public override void ApplyConstraint(ref MixedRealityTransform transform)
    Parameters
    Type Name Description
    MixedRealityTransform transform
    Overrides
    TransformConstraint.ApplyConstraint(ref MixedRealityTransform)
    In This Article
    • Properties
      • ConstraintType
    • Methods
      • ApplyConstraint(ref MixedRealityTransform)
    Back to top Generated by DocFX