mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class FixedRotationToUserConstraint

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

    Inheritance
    Object
    TransformConstraint
    FixedRotationToUserConstraint
    Inherited Members
    TransformConstraint.TargetTransform
    TransformConstraint.HandType
    TransformConstraint.ProximityType
    TransformConstraint.worldPoseOnManipulationStart
    TransformConstraint.Start()
    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
    TransformConstraint.ConstraintType

    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
    TransformConstraint.ApplyConstraint(ref MixedRealityTransform)

    Initialize(MixedRealityPose)

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