Navigation
API > API/Plugins > API/Plugins/XRBase
Default base implementation of IXRCamera. Can either be used directly by implementations or extended with platform-specific features.
| Name | FDefaultXRCamera |
| Type | class |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/DefaultXRCamera.h |
| Include Path | #include "DefaultXRCamera.h" |
Syntax
class FDefaultXRCamera :
public IXRCamera ,
public FHMDSceneViewExtension
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSceneViewExtensionBase → FHMDSceneViewExtension → FDefaultXRCamera
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDefaultXRCamera
(
const FAutoRegister&, |
DefaultXRCamera.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDefaultXRCamera() |
DefaultXRCamera.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCurrentFrameIsStereoRendering | bool | DefaultXRCamera.h | ||
| bUseImplicitHMDPosition | bool | DefaultXRCamera.h | ||
| LateUpdate | FLateUpdateManager | DefaultXRCamera.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginRenderViewFamily
(
FSceneViewFamily& InViewFamily |
DefaultXRCamera.h | ||
virtual bool IsActiveThisFrame_Internal
(
const FSceneViewExtensionContext& Context |
FWorldSceneViewExtension interface: | DefaultXRCamera.h | |
virtual void PreRenderView_RenderThread
(
FRDGBuilder& GraphBuilder, |
DefaultXRCamera.h | ||
virtual void PreRenderViewFamily_RenderThread
(
FRDGBuilder& GraphBuilder, |
DefaultXRCamera.h | ||
virtual void SetupView
(
FSceneViewFamily& InViewFamily, |
DefaultXRCamera.h | ||
virtual void SetupViewFamily
(
FSceneViewFamily& InViewFamily |
ISceneViewExtension interface: | DefaultXRCamera.h |
Overridden from IXRCamera
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyHMDRotation
(
APlayerController* PC, |
Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation. | DefaultXRCamera.h | |
virtual void CalculateStereoCameraOffset
(
const int32 ViewIndex, |
DefaultXRCamera.h | ||
virtual bool GetUseImplicitHMDPosition() |
Returns current setting controlling whether to assume an implied hmd position | DefaultXRCamera.h | |
virtual void OverrideFOV
(
float& InOutFOV |
DefaultXRCamera.h | ||
virtual void SetupLateUpdate
(
const FTransform& ParentToWorld, |
Setup state for applying the render thread late update | DefaultXRCamera.h | |
virtual bool UpdatePlayerCamera
(
FQuat& CurrentOrientation, |
Apply the orientation and position of the headset to the Camera. | DefaultXRCamera.h | |
virtual void UseImplicitHMDPosition
(
bool bInImplicitHMDPosition |
Set the view offset mode to assume an implied HMD position | DefaultXRCamera.h |
Overridden from IIdentifiableXRDevice
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetSystemDeviceId() |
IIdentifiableXRDevice interface: | DefaultXRCamera.h |
Overridden from IXRSystemIdentifier
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetSystemName() |
DefaultXRCamera.h |