A custom player controller class for PixoVR.
More...
#include <PixoVRPlayerController.h>
|
| | 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 | OnCameraManagerCreated (APlayerCameraManager *CameraManager) |
| | UFUNCTION(BlueprintImplementableEvent, meta = (DisplayName = "OnCameraManagerCreated"), Category = Actor)
|
| |
| virtual void | PlayerTick (float DeltaTime) override |
| |
| void | PlayHapticFeedback (bool RightHand, float Duration, float Strength) |
| | UFUNCTION(BlueprintCallable, Category = "Haptic")
|
| |
| virtual void | SpawnPlayerCameraManager () override |
| |
| virtual void | Tick (float DeltaTime) override |
| |
A custom player controller class for PixoVR.
UCLASS()
Definition at line 16 of file PixoVRPlayerController.h.
◆ APixoVRPlayerController()
| APixoVRPlayerController::APixoVRPlayerController |
( |
| ) |
|
◆ BeginPlay()
| void APixoVRPlayerController::BeginPlay |
( |
| ) |
|
|
overridevirtual |
◆ 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 |
◆ FadeOpacityTimelineProgress()
| void APixoVRPlayerController::FadeOpacityTimelineProgress |
( |
float | Value | ) |
|
|
private |
◆ FadeOut()
| void APixoVRPlayerController::FadeOut |
( |
float | FadeDuration = 1.0f | ) |
|
|
BlueprintCallable |
◆ GENERATED_BODY()
| APixoVRPlayerController::GENERATED_BODY |
( |
| ) |
|
|
private |
◆ ImmediateFadeIn()
| void APixoVRPlayerController::ImmediateFadeIn |
( |
| ) |
|
|
private |
◆ ImmediateFadeOut()
| void APixoVRPlayerController::ImmediateFadeOut |
( |
| ) |
|
|
private |
◆ OnCameraManagerCreated()
| void AVRBasePlayerController::OnCameraManagerCreated |
( |
APlayerCameraManager * | CameraManager | ) |
|
|
inheritedBlueprintImplementableEvent |
UFUNCTION(BlueprintImplementableEvent, meta = (DisplayName = "OnCameraManagerCreated"), Category = Actor)
◆ PlayerTick()
| void AVRPlayerController::PlayerTick |
( |
float | DeltaTime | ) |
|
|
overridevirtualinherited |
Processes player input (immediately after PlayerInput gets ticked) and calls UpdateRotation(). PlayerTick is only called if the PlayerController has a PlayerInput object. Therefore, it will only be called for locally controlled PlayerControllers. I am overriding this so that for VRCharacters it doesn't apply the view rotation and instead lets CMC handle it
Definition at line 44 of file VRPlayerController.cpp.
◆ PlayHapticFeedback()
| void APixoVRPlayerController::PlayHapticFeedback |
( |
bool | RightHand, |
|
|
float | Duration, |
|
|
float | Strength ) |
|
BlueprintCallable |
◆ SpawnPlayerCameraManager()
| void AVRPlayerController::SpawnPlayerCameraManager |
( |
| ) |
|
|
overridevirtualinherited |
◆ Tick()
| void APixoVRPlayerController::Tick |
( |
float | DeltaTime | ) |
|
|
overridevirtual |
◆ bDisableServerUpdateCamera
| bool AVRPlayerController::bDisableServerUpdateCamera |
|
inheritedBlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRPlayerController")
Definition at line 65 of file VRPlayerController.h.
◆ ChangingFadeOpacityCurve
| UCurveFloat* APixoVRPlayerController::ChangingFadeOpacityCurve |
|
BlueprintReadOnlyEditAnywhere |
◆ FadeTimeline
| FTimeline APixoVRPlayerController::FadeTimeline |
|
private |
◆ LastRotationInput
| FRotator AVRPlayerController::LastRotationInput |
|
inherited |
The documentation for this class was generated from the following files: