Class UUxtPointerComponent
Base component for UXT pointers.
Inheritance
System::Object
UActorComponent
UUxtPointerComponent
Namespace:
Assembly: .dll
Syntax
public: class UUxtPointerComponent
Constructors
| Improve this Doc View SourceUUxtPointerComponent()
Declaration
public: UUxtPointerComponent()=default
Fields
| Improve this Doc View SourcebFocusLocked
The lock state of the pointer.
Declaration
protected: bool bFocusLocked= false
Field Value
Type | Description |
---|---|
bool |
GetCursorTransform()
Get the cursor transform.
Declaration
public: FTransform GetCursorTransform() const PURE_VIRTUAL(UUxtPointerComponent
Field Value
Type | Description |
---|---|
FTransform |
GetFocusTarget()
Get the target currently being focused by the pointer, if any.
Declaration
public: UObject * GetFocusTarget() const PURE_VIRTUAL(UUxtPointerComponent
Field Value
Type | Description |
---|---|
UObject * |
Hand
The hand to be used for targeting. TODO: replace with generic input device.
Declaration
public: EControllerHand Hand= EControllerHand::AnyHand
Field Value
Type | Description |
---|---|
EControllerHand |
Methods
| Improve this Doc View SourceGetFocusLocked()
Get the lock state of the pointer.
Declaration
public: bool GetFocusLocked() const
Returns
Type | Description |
---|---|
bool |
SetFocusLocked(bool bLocked)
Set the lock state of the pointer. Locked pointers don't update their hit, remaining focused on the primitive they were hitting until unlocked.
Declaration
public: virtual void SetFocusLocked(bool bLocked)
Parameters
Type | Name | Description |
---|---|---|
bool | bLocked |