Navigation
API > API/Plugins > API/Plugins/PixelStreamingHMD
Inheritance Hierarchy
- FHeadMountedDisplayBase
- FHMDSceneViewExtension
- FPixelStreamingHMD
References
| Module | PixelStreamingHMD |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreamingHMD/Public/PixelStreamingHMD.h |
| Include | #include "PixelStreamingHMD.h" |
Syntax
class FPixelStreamingHMD :
public FHeadMountedDisplayBase ,
public FHMDSceneViewExtension
Remarks
Pixel Streamed Head Mounted Display
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelStreamingHMD
(
const FAutoRegister& |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | BeginRenderViewFamily
(
FSceneViewFamily& InViewFamily |
||
| bool | EnableStereo
(
bool stereo |
||
| FMatrix | GetStereoProjectionMatrix
(
const int32 ViewIndex |
||
| bool | |||
| bool | IStereoRendering interface | ||
| void | PreRenderView_RenderThread
(
FRDGBuilder& GraphBuilder, |
||
| void | PreRenderViewFamily_RenderThread
(
FRDGBuilder& GraphBuilder, |
||
| void | SetEyeViews
(
FTransform Left, |
||
| void | SetTransform
(
FTransform Transform |
||
| void | SetupView
(
FSceneViewFamily& InViewFamily, |
||
| void | SetupViewFamily
(
FSceneViewFamily& InViewFamily |
ISceneViewExtension interface |
Overridden from FHeadMountedDisplayBase
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateStereoViewOffset
(
const int32 ViewIndex, |
Overridden from IXRTrackingSystem
| Type | Name | Description | |
|---|---|---|---|
| bool | EnumerateTrackedDevices
(
TArray< int32 >& OutDevices, |
Reports all devices currently available to the system, optionally limiting the result to a given class of devices. | |
| FQuat | Returns current base orientation of HMD as a quaternion. | ||
| FVector | Returns current base position of HMD. | ||
| FRotator | Returns current base orientation of HMD as yaw-pitch-roll combination. | ||
| bool | GetCurrentPose
(
int32 DeviceId, |
Get the current pose for a device. | |
| IHeadMountedDisplay * | GetHMDDevice () |
Access HMD rendering-related features. | |
| bool | GetRelativeEyePose
(
int32 DeviceId, |
If the device id represents a head mounted display, fetches the relative position of the given eye relative to the eye. | |
| TSharedPtr< class IStereoRendering, ESPMode::ThreadSafe > | Access Stereo rendering device associated with this XR system. | ||
| float | FXRTrackingSystemBase protected interface | ||
| int32 | Returns device specific flags. | ||
| void | ResetOrientation
(
float Yaw |
Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction. | |
| void | ResetOrientationAndPosition
(
float yaw |
Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction and assuming current position as a 'zero-point' (for positional tracking). | |
| void | Resets position, assuming current position as a 'zero-point'. | ||
| void | SetBaseOrientation
(
const FQuat& BaseOrient |
Sets base orientation, assuming that this is forward direction. Position is not changed. | |
| void | SetBasePosition
(
const FVector& InBasePosition |
Sets base position of the HMD. | |
| void | SetBaseRotation
(
const FRotator& BaseRot |
Sets base orientation by setting yaw, pitch, roll, assuming that this is forward direction. |
Overridden from IXRSystemIdentifier
| Type | Name | Description | |
|---|---|---|---|
| FName | IXRTrackingSystem interface |
Overridden from IHeadMountedDisplay
| Type | Name | Description | |
|---|---|---|---|
| void | DrawDistortionMesh_RenderThread
(
FHeadMountedDisplayPassContext& Context, |
||
| void | EnableHMD
(
bool allow |
Enables or disables switching to stereo. | |
| void | GetEyeRenderParams_RenderThread
(
const FHeadMountedDisplayPassContext& Context, |
Returns eye render params, used from PostProcessHMD, RenderThread. | |
| void | GetFieldOfView
(
float& OutHFOVInDegrees, |
Calculates the FOV, based on the screen dimensions of the device. Original FOV is passed as params. | |
| bool | GetHMDDistortionEnabled
(
EShadingPath ShadingPath |
Whether HMDDistortion post processing is enabled or not | |
| bool | Get the name or id of the display to output for this HMD. | ||
| float | |||
| bool | Returns 'false' if chromatic aberration correction is off. | ||
| bool | IHeadMountedDisplay interface | ||
| bool | IsHMDEnabled () |
Whether or not switching to stereo is enabled; if it is false, then EnableStereo(true) will do nothing. | |
| void | SetInterpupillaryDistance
(
float NewInterpupillaryDistance |
Accessors to modify the interpupillary distance (meters) |