Bearbeiten

Freigeben über


FixedRotationToWorldConstraint Class

Definition

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

public ref class FixedRotationToWorldConstraint : Microsoft::MixedReality::Toolkit::UI::TransformConstraint
public class FixedRotationToWorldConstraint : Microsoft.MixedReality.Toolkit.UI.TransformConstraint
type FixedRotationToWorldConstraint = class
    inherit TransformConstraint
Public Class FixedRotationToWorldConstraint
Inherits TransformConstraint
Inheritance
UnityEngine.MonoBehaviour
FixedRotationToWorldConstraint

Constructors

FixedRotationToWorldConstraint()

Fields

worldPoseOnManipulationStart (Inherited from TransformConstraint)

Properties

ConstraintType
ExecutionPriority

Execution order priority of this constraint. Lower numbers will be executed before higher numbers.

(Inherited from TransformConstraint)
HandType

Whether this constraint applies to one hand manipulation, two hand manipulation or both

(Inherited from TransformConstraint)
ProximityType

Whether this constraint applies to near manipulation, far manipulation or both

(Inherited from TransformConstraint)
TargetTransform
Obsolete.

Transform that we intend to apply constraints to

(Inherited from TransformConstraint)

Methods

ApplyConstraint(MixedRealityTransform)

Fix rotation to the rotation from manipulation start

Initialize(MixedRealityPose)
Obsolete.

Intended to be called on manipulation started

(Inherited from TransformConstraint)
Initialize(MixedRealityTransform)

Intended to be called on manipulation started

(Inherited from TransformConstraint)
OnDisable() (Inherited from TransformConstraint)
OnEnable() (Inherited from TransformConstraint)

Applies to