Struct FUxtGrabPointerData
Utility struct that stores transient data for a pointer which is interacting with a grabbable component.
Namespace:
Assembly: .dll
Syntax
public: struct FUxtGrabPointerData
Fields
| Improve this Doc View SourceFarPointer
The far pointer that is interacting with the component
Declaration
public: UUxtFarPointerComponent * FarPointer= nullptr
Field Value
| Type | Description |
|---|---|
| UUxtFarPointerComponent * |
FarRayHitPointInPointer
Far pointer only property -> describes the relative transform of the grab point to the pointer transform (pointer origin / orientation) This is needed to calculate the new grab point on the object on pointer translations / rotations
Declaration
public: FTransform FarRayHitPointInPointer= FTransform::Identity
Field Value
| Type | Description |
|---|---|
| FTransform |
GrabPointTransform
Last updated grab point transform. (Pointer transform in near pointer case, ray hit transform in far pointer case)
Declaration
public: FTransform GrabPointTransform
Field Value
| Type | Description |
|---|---|
| FTransform |
LocalGrabPoint
Transform of the pointer when it started interacting, in the local space of the target component. This allows computing pointer offset in relation to the current actor transform.
Declaration
public: FTransform LocalGrabPoint
Field Value
| Type | Description |
|---|---|
| FTransform |
NearPointer
The near pointer that is interacting with the component.
Declaration
public: UUxtNearPointerComponent * NearPointer= nullptr
Field Value
| Type | Description |
|---|---|
| UUxtNearPointerComponent * |
StartTime
The time at which interaction started, in seconds since application start.
Declaration
public: float StartTime
Field Value
| Type | Description |
|---|---|
| float |