Open 3D Engine OpenXRVk Gem API Reference 25.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
OpenXRVk::XRCameraMovementComponent Class Reference

#include <XRCameraMovementComponent.h>

Inherits AZ::Component, AZ::TickBus::Handler, and Camera::CameraNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (OpenXRVk::XRCameraMovementComponent, "{7FEC0A04-D994-445C-B8DE-190D03BC3820}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Member Functions

void Activate () override
 
void Deactivate () override
 
void OnTick (float deltaTime, AZ::ScriptTimePoint timePoint) override
 
void OnActiveViewChanged (const AZ::EntityId &) override
 

Detailed Description

XRCameraMovementComponent uses the OpenXRVk::OpenXRActionsInterface to read user input to control a camera. This is an example that hooks up a limited set of inputs, mostly thumbsticks, to drive the camera position to new places.


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