Show / Hide Table of Contents

    UXRSimulationHeadMovementComponent

    Movement component that applies user input. Works similar to UFloatingPawnMovement, but does not require a APawn actor.

    class UXRSimulationHeadMovementComponent;
    

    Header

    #include <XRSimulationHeadMovementComponent.h>

    Inheritance

    Inherits from UMovementComponent

    Public Functions

    Name
    virtual void BeginPlay() override
    virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction * ThisTickFunction) override
    void AddRotationInput(const FRotator & Rotation)
    void AddMovementInput(const FVector & Movement)
    bool IsHeadMovementEnabled() const
    void SetHeadMovementEnabled(bool bEnable)

    Public Functions Documentation

    function BeginPlay

    virtual void BeginPlay() override
    

    function TickComponent

    virtual void TickComponent(
        float DeltaTime,
        enum ELevelTick TickType,
        FActorComponentTickFunction * ThisTickFunction
    ) override
    

    function AddRotationInput

    void AddRotationInput(
        const FRotator & Rotation
    )
    

    Add cumulative rotation input relative to current world space orientation.

    function AddMovementInput

    void AddMovementInput(
        const FVector & Movement
    )
    

    Add cumulative movement input in world space.

    function IsHeadMovementEnabled

    bool IsHeadMovementEnabled() const
    

    function SetHeadMovementEnabled

    void SetHeadMovementEnabled(
        bool bEnable
    )
    

    Updated on 19 August 2021 at 17:42:52 Coordinated Universal Time

    • Improve this Doc
    Back to top Generated by DocFX