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

    Show / Hide Table of Contents

    Class UxtConstraintManager

    Manages constraints for a given object and ensures that Scale/Rotation/Translation constraints are executed separately.

    Inheritance
    System::Object
    UxtConstraintManager
    Namespace:
    Assembly: .dll
    Syntax
    public: class UxtConstraintManager

    Constructors

    | Improve this Doc View Source

    UxtConstraintManager(AActor &OwningActor)

    Registers all transform constraints attached to the actor.

    Declaration
    public: UxtConstraintManager(AActor &OwningActor)
    Parameters
    Type Name Description
    AActor & OwningActor

    Methods

    | Improve this Doc View Source

    ApplyRotationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)

    Applies rotation constraint to transform

    Declaration
    public: void ApplyRotationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
    Parameters
    Type Name Description
    FTransform & Transform
    bool IsOneHanded
    bool IsNear
    | Improve this Doc View Source

    ApplyScaleConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)

    Applies scale constraint to transform

    Declaration
    public: void ApplyScaleConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
    Parameters
    Type Name Description
    FTransform & Transform
    bool IsOneHanded
    bool IsNear
    | Improve this Doc View Source

    ApplyTranslationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)

    Applies translation constraint to transform

    Declaration
    public: void ApplyTranslationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear) const
    Parameters
    Type Name Description
    FTransform & Transform
    bool IsOneHanded
    bool IsNear
    | Improve this Doc View Source

    Initialize(FTransform &WorldPose)

    Initialized all registered transform constraints

    Declaration
    public: void Initialize(FTransform &WorldPose)
    Parameters
    Type Name Description
    FTransform & WorldPose
    | Improve this Doc View Source

    Update(const FTransform &TargetTransform)

    Compares existing registered constraints with up to date constraint list attached to actor

    Declaration
    public: void Update(const FTransform &TargetTransform)
    Parameters
    Type Name Description
    const FTransform & TargetTransform
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UxtConstraintManager(AActor &OwningActor)
    • Methods
      • ApplyRotationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
      • ApplyScaleConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
      • ApplyTranslationConstraints(FTransform &Transform, bool IsOneHanded, bool IsNear)
      • Initialize(FTransform &WorldPose)
      • Update(const FTransform &TargetTransform)
    Back to top Generated by DocFX