| FXRTrackingSystemBase | ||
| IHeadMountedDisplay | ||
| IStereoRendering
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayBase.h |
Include |
#include "HeadMountedDisplayBase.h" |
class FHeadMountedDisplayBase :
public FXRTrackingSystemBase,
public IHeadMountedDisplay,
public IStereoRendering
Default implementation for various IHeadMountedDisplay methods. You can extend this class instead of IHeadMountedDisplay directly when implementing support for new HMD devices.
Name | Description | ||
---|---|---|---|
|
TSharedPtr< cla... |
DefaultStereoLayers |
|
|
TUniquePtr< FDe... |
SpectatorScreenController |
Name | Description | |
---|---|---|
|
FHeadMountedDisplayBase ( |
Name | Description | |
---|---|---|
|
~FHeadMountedDisplayBase() |
Name | Description | ||
---|---|---|---|
|
CopyTexture_RenderThread ( |
Helper to copy one render target into another for spectator screen display. |
|
|
CVarSinkHandler() |
CVar sink for pixel density |
|
|
GetEyeCenterPoint_RenderThread ( |
Spectator Screen Hooks into specific implementations Get the point on the left eye render target which the viewers eye is aimed directly at when looking straight forward. |
|
|
GetFullFlatEyeRect_RenderThread ( |
Get the rectangle of the HMD rendertarget for the left eye which seems undistorted enough to be cropped and displayed on the spectator screen. |
|
|
FTexture2DRH... |
GetOverlayLayerTarget_RenderThread ( |
Implement this method to provide an alternate render target for head locked stereo layer rendering, when using the default Stereo Layers implementation. |
|
FTexture2DRH... |
GetSceneLayerTarget_RenderThread ( |
Implement this method to override the render target for scene based stereo layers. |
|
PopulateAnalyticsAttributes ( |
Called by RecordAnalytics when creating the analytics event sent during HMD initialization. |
Name | Description | ||
---|---|---|---|
|
IsHeadTrackingAllowed() |
Default IXRTrackingSystem implementation |
|
|
IsHeadTrackingEnforced() |
Optional IXRTrackingSystem methods. |
|
|
OnLateUpdateApplied_RenderThread ( |
Called just after the late update on the render thread passing back the current relative transform. |
|
|
SetHeadTrackingEnforced ( |
Can be used to enforce tracking even when stereo rendering is disabled. |
Name | Description | ||
---|---|---|---|
|
GetHMDDistortionEnabled ( |
Whether HMDDistortion post processing is enabled or not |
|
|
ISpectatorSc... |
GetSpectatorScreenController() |
|
|
ISpectatorSc... |
GetSpectatorScreenController() |
Return a pointer to the SpectatorScreenController for the HMD if supported, else null. |
|
IsSpectatorScreenActive() |
Are we outputting so a Spectator Screen now. |
|
|
RecordAnalytics() |
Record analytics - To add custom information logged with the analytics, override PopulateAnalyticsAttributes |
Name | Description | ||
---|---|---|---|
|
CalculateStereoViewOffset ( |
Calculates the offset for the camera position, given the specified position, rotation, and world scale |
|
|
IStereoLayer... |
GetStereoLayers() |
Default stereo layer implementation |
|
InitCanvasFromView ( |
Sets view-specific params (such as view projection matrix) for the canvas. |
Name |
Description |
---|---|
CVarSink |
|
PixelDensityMax |
|
PixelDensityMin |
Sane pixel density values. |