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

    Show / Hide Table of Contents

    Class UUxtFixedDistanceConstraint

    Constraint to fix the object distance from another object.

    Usage: Attach to actor that the constraint should be applied to. If necessary, configure the object to constrain to. This will default to the head if not set.

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

    Fields

    | Improve this Doc View Source

    ConstraintComponent

    Component to fix distance to. Defaults to the head.

    Declaration
    public: FComponentReference ConstraintComponent
    Field Value
    Type Description
    FComponentReference

    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
      • ConstraintComponent
    • Methods
      • ApplyConstraint(FTransform &Transform)
      • GetConstraintType()
      • Initialize(const FTransform &WorldPose)
    Back to top Generated by DocFX