public/0.12.xpublic/0.8.xpublic/0.9.xpublic/0.10.x

    Show / Hide Table of Contents

    Class UUxtFixedRotationToUserConstraint

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

    Usage: Attach to actor that the constraint should be applied to.

    Inheritance
    System::Object
    UActorComponent
    UUxtTransformConstraint
    UUxtFixedRotationToUserConstraint
    Inherited Members
    UUxtTransformConstraint::HandType
    UUxtTransformConstraint::InteractionMode
    UUxtTransformConstraint::TargetComponent
    UUxtTransformConstraint::WorldPoseOnManipulationStart
    Namespace:
    Assembly: .dll
    Syntax
    public: class UUxtFixedRotationToUserConstraint : public xtTransformConstraint

    Fields

    | Improve this Doc View Source

    bExcludeRoll

    Should roll be excluded from locking to the users orientation

    Declaration
    public: bool bExcludeRoll= true
    Field Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    ApplyConstraint(FTransform &Transform)

    Applies constraints to transforms during manipulation

    Declaration
    public: virtual void ApplyConstraint(FTransform &Transform) const override
    Parameters
    Type Name Description
    FTransform & Transform
    Overrides
    UUxtTransformConstraint::ApplyConstraint(FTransform &Transform)
    | Improve this Doc View Source

    GetConstraintType()

    Enabled manipulation modes.

    Declaration
    public: virtual EUxtTransformMode GetConstraintType() const override
    Returns
    Type Description
    EUxtTransformMode
    Overrides
    UUxtTransformConstraint::GetConstraintType()
    | Improve this Doc View Source

    Initialize(const FTransform &WorldPose)

    Intended to be called on manipulation started

    Declaration
    public: virtual void Initialize(const FTransform &WorldPose) override
    Parameters
    Type Name Description
    const FTransform & WorldPose
    Overrides
    UUxtTransformConstraint::Initialize(const FTransform &WorldPose)
    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • bExcludeRoll
    • Methods
      • ApplyConstraint(FTransform &Transform)
      • GetConstraintType()
      • Initialize(const FTransform &WorldPose)
    Back to top Generated by DocFX