Navigation
Unreal Engine C++ API Reference > Runtime > HeadMountedDisplay
Inheritance Hierarchy
References
Module | HeadMountedDisplay |
Header | /Engine/Source/Runtime/HeadMountedDisplay/Public/IXRCamera.h |
Include | #include "IXRCamera.h" |
Syntax
class IXRCamera : public IIdentifiableXRDevice
Remarks
Interface used by the camera component to figure out the final position of a motion tracked camera.
To reduce duplicated code, implementations should use the FXRCameraBase instead of implementing this interface directly.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
IXRCamera () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ApplyHMDRotation
(
APlayerController* PC, |
Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation. |
![]() |
void | CalculateStereoCameraOffset
(
const int32 ViewIndex, |
Calculates the offset for the camera position, given the specified eye pass, position and rotation. |
![]() ![]() |
bool | GetPassthroughCameraUVs_RenderThread
(
TArray< FVector2D >& OutUVs |
Fetches the UV coordinates of an AR passthrough camera relative to the screen. |
![]() ![]() |
bool | Gets the view offset mode to assume an implied HMD position | |
![]() |
void | OverrideFOV
(
float& InOutFOV |
Override the Field of View for the player camera component. |
![]() |
void | SetupLateUpdate
(
const FTransform& ParentToWorld, |
Setup state for applying the render thread late update |
![]() |
bool | UpdatePlayerCamera
(
FQuat& CurrentOrientation, |
Apply the orientation and position of the headset to the Camera. |
![]() |
void | UseImplicitHMDPosition
(
bool bInImplicitHMDPosition |
Set the view offset mode to assume an implied HMD position |