Show / Hide Table of Contents

    Struct FUxtBoundingBoxAffordanceInfo

    Affordances are grabbable actors placed on the bounding box which enable interaction.

    Namespace:
    Assembly: .dll
    Syntax
    public: struct FUxtBoundingBoxAffordanceInfo

    Fields

    | Improve this Doc View Source

    Action

    Action to perform when the affordance is grabbed.

    Declaration
    public: EUxtBoundingBoxAffordanceAction Action= EUxtBoundingBoxAffordanceAction::Resize
    Field Value
    Type Description
    EUxtBoundingBoxAffordanceAction
    | Improve this Doc View Source

    ActorClass

    Actor that will be spawned to represent the affordance.

    Declaration
    public: TSubclassOf<class AActor> ActorClass
    Field Value
    Type Description
    TSubclassOf<class AActor>
    | Improve this Doc View Source

    BoundsLocation

    Location of the affordance in normalized bounding box space (-1..1).

    Declaration
    public: FVector BoundsLocation
    Field Value
    Type Description
    FVector
    | Improve this Doc View Source

    BoundsRotation

    Rotation of the affordance in bounding box space.

    Declaration
    public: FRotator BoundsRotation
    Field Value
    Type Description
    FRotator
    | Improve this Doc View Source

    ConstraintMatrix

    Constraint matrix defining possible movement directions or rotation axes. Drag vectors during interaction are multiplied with this matrix.

    Declaration
    public: FMatrix ConstraintMatrix
    Field Value
    Type Description
    FMatrix
    | Improve this Doc View Source

    Kind

    Kind of actor class to use if no explicit actor class is set. In this case the matching actor class from the bounding box component will be used.

    Declaration
    public: EUxtBoundingBoxAffordanceKind Kind= EUxtBoundingBoxAffordanceKind::Center
    Field Value
    Type Description
    EUxtBoundingBoxAffordanceKind

    Methods

    | Improve this Doc View Source

    GetWorldTransform(const FBox &Bounds, const FTransform &RootTransform)

    Transform from affordance local space to world space, based on the root transform. Root transform scale is not included in the transform.

    Declaration
    public: FTransform GetWorldTransform(const FBox &Bounds, const FTransform &RootTransform) const
    Parameters
    Type Name Description
    const FBox & Bounds
    const FTransform & RootTransform
    Returns
    Type Description
    FTransform
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX