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

    Show / Hide Table of Contents

    UxtAffordanceInteractionCache

    Internal cache that will be used during the interaction with an affordance.

    struct UxtAffordanceInteractionCache;
    

    Public Attributes

    Name
    bool IsValid
    FBox InitialBounds
    FTransform InitialTransform
    FVector InitialDiagonalDirection
    FVector InitialOppositeAffordanceLoc
    FTransform InitialGrabPointTransform
    UPrimitiveComponent * OppositeAffordancePrimitive

    Public Attributes Documentation

    variable IsValid

    bool UxtAffordanceInteractionCache::IsValid
    bool IsValid = false;
    

    Whether this cache is valid for use.

    It can be false when the opposite affordance can't be found due to misconfiguration, for example.

    variable InitialBounds

    FBox UxtAffordanceInteractionCache::InitialBounds
    FBox InitialBounds;
    

    Initial bounding box at the start of interaction.

    variable InitialTransform

    FTransform UxtAffordanceInteractionCache::InitialTransform
    FTransform InitialTransform;
    

    Initial transform of the actor at the start of interaction.

    variable InitialDiagonalDirection

    FVector UxtAffordanceInteractionCache::InitialDiagonalDirection
    FVector InitialDiagonalDirection;
    

    Initial diagonal direction (opposite to grabbed affordance).

    variable InitialOppositeAffordanceLoc

    FVector UxtAffordanceInteractionCache::InitialOppositeAffordanceLoc
    FVector InitialOppositeAffordanceLoc;
    

    Initial location of the opposite affordance.

    variable InitialGrabPointTransform

    FTransform UxtAffordanceInteractionCache::InitialGrabPointTransform
    FTransform InitialGrabPointTransform;
    

    Initial transform of the grab point (world space)

    variable OppositeAffordancePrimitive

    UPrimitiveComponent* UxtAffordanceInteractionCache::OppositeAffordancePrimitive
    UPrimitiveComponent * OppositeAffordancePrimitive;
    

    Opposite affordance's primitive. Caching here prevents iterating over the map each frame.


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

    • Improve this Doc
    In This Article
    • Public Attributes
    • Public Attributes Documentation
      • variable IsValid
      • variable InitialBounds
      • variable InitialTransform
      • variable InitialDiagonalDirection
      • variable InitialOppositeAffordanceLoc
      • variable InitialGrabPointTransform
      • variable OppositeAffordancePrimitive
    Back to top Generated by DocFX