Show / Hide Table of Contents

    Class UUxtMathUtilsFunctionLibrary

    Library of utility functions for UX Tools.

    Inheritance
    System::Object
    UBlueprintFunctionLibrary
    UUxtMathUtilsFunctionLibrary
    Namespace:
    Assembly: .dll
    Syntax
    public: class UUxtMathUtilsFunctionLibrary

    Methods

    | Improve this Doc View Source

    GetRotationBetweenVectors(const FVector &Vector1, const FVector &Vector2)

    Compute minimal rotation between vectors.

    Declaration
    public: static FRotator GetRotationBetweenVectors(const FVector &Vector1, const FVector &Vector2)
    Parameters
    Type Name Description
    const FVector & Vector1
    const FVector & Vector2
    Returns
    Type Description
    FRotator
    | Improve this Doc View Source

    RotateAboutPivotPoint(const FTransform &Transform, const FRotator &Rotation, const FVector &Pivot)

    Apply rotation about a pivot point to the transform.

    Declaration
    public: static FTransform RotateAboutPivotPoint(const FTransform &Transform, const FRotator &Rotation, const FVector &Pivot)
    Parameters
    Type Name Description
    const FTransform & Transform
    const FRotator & Rotation
    const FVector & Pivot
    Returns
    Type Description
    FTransform
    | Improve this Doc View Source

    SwingTwistDecompose(const FRotator &Rotation, const FVector &TwistAxis, FRotator &Swing, FRotator &Twist)

    Decompose a rotation into swing and twist components. The twist component describes a rotation around the given twist axis, while the swing contains the remaining rotation.

    Declaration
    public: static void SwingTwistDecompose(const FRotator &Rotation, const FVector &TwistAxis, FRotator &Swing, FRotator &Twist)
    Parameters
    Type Name Description
    const FRotator & Rotation
    const FVector & TwistAxis
    FRotator & Swing
    FRotator & Twist
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX