Class UUxtInputSimulationHeadMovementComponent
Movement component that applies user input. Works similar to UFloatingPawnMovement, but does not require a APawn actor.
Inheritance
System::Object
UMovementComponent
UUxtInputSimulationHeadMovementComponent
Namespace:
Assembly: .dll
Syntax
public: class UUxtInputSimulationHeadMovementComponent
Methods
| Improve this Doc View SourceAddMovementInput(const FVector &Movement)
Add cumulative movement input in world space.
Declaration
public: void AddMovementInput(const FVector &Movement)
Parameters
Type | Name | Description |
---|---|---|
const FVector & | Movement |
AddRotationInput(const FRotator &Rotation)
Add cumulative rotation input relative to current world space orientation.
Declaration
public: void AddRotationInput(const FRotator &Rotation)
Parameters
Type | Name | Description |
---|---|---|
const FRotator & | Rotation |
BeginPlay()
Declaration
public: virtual void BeginPlay() override
IsHeadMovementEnabled()
Declaration
public: bool IsHeadMovementEnabled() const
Returns
Type | Description |
---|---|
bool |
SetHeadMovementEnabled(bool bEnable)
Declaration
public: void SetHeadMovementEnabled(bool bEnable)
Parameters
Type | Name | Description |
---|---|---|
bool | bEnable |
TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)
Declaration
public: virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
Parameters
Type | Name | Description |
---|---|---|
float | DeltaTime | |
enum ELevelTick | TickType | |
FActorComponentTickFunction * | ThisTickFunction |