Class UUxtFarCursorComponent
When added to an actor with a far pointer this component displays a flat ring cursor at the pointer's hit point oriented following the hit normal.
Inheritance
System::Object
UUxtRingCursorComponent
UUxtFarCursorComponent
Namespace:
Assembly: .dll
Syntax
public: class UUxtFarCursorComponent
Constructors
| Improve this Doc View SourceUUxtFarCursorComponent()
Declaration
public: UUxtFarCursorComponent()
Fields
| Improve this Doc View SourceHoverDistance
Distance over the hit surface to place the cursor at.
Declaration
public: float HoverDistance= 0.5f
Field Value
Type | Description |
---|---|
float |
IdleRadius
Cursor radius when idle at 1m from the camera. The actual radius will scale with the distance to the camera to keep a constant screen size.
Declaration
public: float IdleRadius= 0.6f
Field Value
Type | Description |
---|---|
float |
PressedRadius
Cursor radius when pressed at 1m from the camera. The actual radius will scale with the distance to the camera to keep a constant screen size.
Declaration
public: float PressedRadius= 0.32f
Field Value
Type | Description |
---|---|
float |
Methods
| Improve this Doc View SourceBeginPlay()
Declaration
protected: virtual void BeginPlay() override
EndPlay(const EEndPlayReason::Type EndPlayReason)
Declaration
protected: virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override
Parameters
Type | Name | Description |
---|---|---|
const EEndPlayReason::Type | EndPlayReason |
TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)
Declaration
protected: virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
Parameters
Type | Name | Description |
---|---|---|
float | DeltaTime | |
ELevelTick | TickType | |
FActorComponentTickFunction * | ThisTickFunction |