Show / Hide Table of Contents

    UUxtRotationAxisConstraint

    Component for limiting the rotation axes for Manipulator

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

    class UUxtRotationAxisConstraint;
    

    Header

    #include <Interactions/Constraints/UxtRotationAxisConstraint.h>

    Inheritance

    Inherits from UUxtTransformConstraint, UActorComponent

    Public Functions

    Name
    virtual EUxtTransformMode GetConstraintType() const
    virtual void ApplyConstraint(FTransform & Transform) const

    Public Attributes

    Name
    EUxtAxis AllowedAxis
    bool bUseLocalSpaceForConstraint

    Additional inherited members

    Public Functions inherited from UUxtTransformConstraint

    Name
    virtual void virtual void Initialize(const FTransform & WorldPose)

    Public Attributes inherited from UUxtTransformConstraint

    Name
    int32 HandType
    int32 InteractionMode

    Protected Attributes inherited from UUxtTransformConstraint

    Name
    FTransform WorldPoseOnManipulationStart

    Public Functions Documentation

    function GetConstraintType

    virtual EUxtTransformMode GetConstraintType() const
    

    Reimplements: UUxtTransformConstraint::GetConstraintType

    Enabled manipulation modes.

    function ApplyConstraint

    virtual void ApplyConstraint(
        FTransform & Transform
    ) const
    

    Reimplements: UUxtTransformConstraint::ApplyConstraint

    Applies constraints to transforms during manipulation

    Public Attributes Documentation

    variable AllowedAxis

    EUxtAxis AllowedAxis = EUxtAxis::None;
    

    Defines which axis allows rotation.

    variable bUseLocalSpaceForConstraint

    bool bUseLocalSpaceForConstraint = false;
    

    Use local or global space for constraint calculations


    Updated on 19 August 2021 at 17:42:52 Coordinated Universal Time

    • Improve this Doc
    Back to top Generated by DocFX