Documentation for the Unreal C++ Plugin
Loading...
Searching...
No Matches
APixoVRPlayerController Class Reference

A custom player controller class for PixoVR. More...

#include <PixoVRPlayerController.h>

Inheritance diagram for APixoVRPlayerController:
[legend]

Public Member Functions

 APixoVRPlayerController ()
 
virtual void BeginPlay () override
 
void ClientFadeIn (float FadeDuration)
 UFUNCTION(Client, Reliable)
 
void ClientFadeOut (float FadeDuration)
 UFUNCTION(Client, Reliable)
 
void FadeIn (float FadeDuration=1.0f)
 UFUNCTION(BlueprintCallable, Category = "Fade")
 
void FadeOut (float FadeDuration=1.0f)
 UFUNCTION(BlueprintCallable, Category = "Fade")
 
void PlayHapticFeedback (bool RightHand, float Duration, float Strength)
 UFUNCTION(BlueprintCallable, Category = "Haptic")
 
virtual void Tick (float DeltaTime) override
 

Public Attributes

UCurveFloat * ChangingFadeOpacityCurve
 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Fade")
 

Private Member Functions

void FadeOpacityTimelineProgress (float Value)
 UFUNCTION()
 
 GENERATED_BODY ()
 
void ImmediateFadeIn ()
 
void ImmediateFadeOut ()
 

Private Attributes

FTimeline FadeTimeline
 

Detailed Description

A custom player controller class for PixoVR.

UCLASS()

Definition at line 16 of file PixoVRPlayerController.h.

Constructor & Destructor Documentation

◆ APixoVRPlayerController()

APixoVRPlayerController::APixoVRPlayerController ( )

Definition at line 7 of file PixoVRPlayerController.cpp.

Member Function Documentation

◆ BeginPlay()

void APixoVRPlayerController::BeginPlay ( )
overridevirtual

Definition at line 13 of file PixoVRPlayerController.cpp.

◆ ClientFadeIn()

void APixoVRPlayerController::ClientFadeIn ( float FadeDuration)
ClientReliable

UFUNCTION(Client, Reliable)

◆ ClientFadeOut()

void APixoVRPlayerController::ClientFadeOut ( float FadeDuration)
ClientReliable

UFUNCTION(Client, Reliable)

◆ FadeIn()

void APixoVRPlayerController::FadeIn ( float FadeDuration = 1.0f)
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Fade")

Definition at line 43 of file PixoVRPlayerController.cpp.

Here is the call graph for this function:

◆ FadeOpacityTimelineProgress()

void APixoVRPlayerController::FadeOpacityTimelineProgress ( float Value)
private

UFUNCTION()

Definition at line 92 of file PixoVRPlayerController.cpp.

◆ FadeOut()

void APixoVRPlayerController::FadeOut ( float FadeDuration = 1.0f)
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Fade")

Definition at line 61 of file PixoVRPlayerController.cpp.

Here is the call graph for this function:

◆ GENERATED_BODY()

APixoVRPlayerController::GENERATED_BODY ( )
private

◆ ImmediateFadeIn()

void APixoVRPlayerController::ImmediateFadeIn ( )
private

Definition at line 99 of file PixoVRPlayerController.cpp.

Here is the caller graph for this function:

◆ ImmediateFadeOut()

void APixoVRPlayerController::ImmediateFadeOut ( )
private

Definition at line 106 of file PixoVRPlayerController.cpp.

Here is the caller graph for this function:

◆ PlayHapticFeedback()

void APixoVRPlayerController::PlayHapticFeedback ( bool RightHand,
float Duration,
float Strength )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Haptic")

Definition at line 74 of file PixoVRPlayerController.cpp.

Here is the caller graph for this function:

◆ Tick()

void APixoVRPlayerController::Tick ( float DeltaTime)
overridevirtual

Definition at line 31 of file PixoVRPlayerController.cpp.

Member Data Documentation

◆ ChangingFadeOpacityCurve

UCurveFloat* APixoVRPlayerController::ChangingFadeOpacityCurve
BlueprintReadOnlyEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Fade")

Definition at line 65 of file PixoVRPlayerController.h.

◆ FadeTimeline

FTimeline APixoVRPlayerController::FadeTimeline
private

Definition at line 76 of file PixoVRPlayerController.h.


The documentation for this class was generated from the following files: