Struct UxtAffordanceInteractionCache
Internal cache that will be used during the interaction with an affordance.
Namespace:
Assembly: .dll
Syntax
public: struct UxtAffordanceInteractionCache
Fields
| Improve this Doc View SourceInitialBounds
Initial bounding box at the start of interaction.
Declaration
public: FBox InitialBounds
Field Value
| Type | Description |
|---|---|
| FBox |
InitialDiagonalDirection
Initial diagonal direction (opposite to grabbed affordance).
Declaration
public: FVector InitialDiagonalDirection
Field Value
| Type | Description |
|---|---|
| FVector |
InitialGrabPointTransform
Initial transform of the grab point (world space)
Declaration
public: FTransform InitialGrabPointTransform
Field Value
| Type | Description |
|---|---|
| FTransform |
InitialOppositeAffordanceLoc
Initial location of the opposite affordance.
Declaration
public: FVector InitialOppositeAffordanceLoc
Field Value
| Type | Description |
|---|---|
| FVector |
InitialTransform
Initial transform of the actor at the start of interaction.
Declaration
public: FTransform InitialTransform
Field Value
| Type | Description |
|---|---|
| FTransform |
IsValid
Whether this cache is valid for use.
It can be false when the opposite affordance can't be found due to misconfiguration, for example.
Declaration
public: bool IsValid= false
Field Value
| Type | Description |
|---|---|
| bool |
OppositeAffordancePrimitive
Opposite affordance's primitive. Caching here prevents iterating over the map each frame.
Declaration
public: UPrimitiveComponent * OppositeAffordancePrimitive
Field Value
| Type | Description |
|---|---|
| UPrimitiveComponent * |