Default base implementation of IXRCamera. 更多...
#include <DefaultXRCamera.h>
类 FDefaultXRCamera 继承关系图:Public 成员函数 | |
| virtual void | ApplyHMDRotation (APlayerController *PC, FRotator &ViewRotation) override |
| Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation. 更多... | |
| virtual void | CalculateStereoCameraOffset (const enum EStereoscopicPass StereoPassType, FRotator &ViewRotation, FVector &ViewLocation) override |
| Calculates the offset for the camera position, given the specified eye pass, position and rotation. 更多... | |
| virtual int32 | GetSystemDeviceId () const override |
| Returns a unique identifier that can be used to reference this device within the system is belongs to. 更多... | |
| virtual bool | GetUseImplicitHMDPosition () const override |
| Returns current setting controlling whether to assume an implied hmd position | |
| virtual void | OverrideFOV (float &InOutFOV) override |
| Override the Field of View for the player camera component. | |
| virtual void | SetupLateUpdate (const FTransform &ParentToWorld, USceneComponent *Component, bool bSkipLateUpdate) override |
| Setup state for applying the render thread late update | |
| virtual bool | UpdatePlayerCamera (FQuat &CurrentOrientation, FVector &CurrentPosition) override |
| Apply the orientation and position of the headset to the Camera. | |
| virtual void | UseImplicitHMDPosition (bool bInImplicitHMDPosition) override |
| Set the view offset mode to assume an implied HMD position | |
Public 成员函数 继承自 IXRCamera | |
| virtual void | ApplyHMDRotation (APlayerController *PC, FRotator &ViewRotation)=0 |
| Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation. 更多... | |
| virtual void | CalculateStereoCameraOffset (const enum EStereoscopicPass StereoPassType, FRotator &ViewRotation, FVector &ViewLocation)=0 |
| Calculates the offset for the camera position, given the specified eye pass, position and rotation. 更多... | |
| virtual bool | GetPassthroughCameraUVs_RenderThread (TArray< FVector2D > &OutUVs) |
| Fetches the UV coordinates of an AR passthrough camera relative to the screen. 更多... | |
| virtual bool | GetUseImplicitHMDPosition () const =0 |
| Gets the view offset mode to assume an implied HMD position | |
| virtual void | OverrideFOV (float &InOutFOV)=0 |
| Override the Field of View for the player camera component. | |
| virtual void | SetupLateUpdate (const FTransform &ParentToWorld, USceneComponent *Component, bool bSkipLateUpdate)=0 |
| Setup state for applying the render thread late update | |
| virtual bool | UpdatePlayerCamera (FQuat &CurrentOrientation, FVector &CurrentPosition)=0 |
| Apply the orientation and position of the headset to the Camera. | |
| virtual void | UseImplicitHMDPosition (bool bInImplicitHMDPosition)=0 |
| Set the view offset mode to assume an implied HMD position | |
| virtual int32 | GetSystemDeviceId () const =0 |
| Returns a unique identifier that can be used to reference this device within the system is belongs to. 更多... | |
Public 成员函数 继承自 TSharedFromThis< FSceneViewExtensionBase, ESPMode::ThreadSafe > | |
| TSharedRef< FSceneViewExtensionBase, Mode > | AsShared () |
| Provides access to a shared reference to this object. 更多... | |
| TSharedRef< FSceneViewExtensionBase const, Mode > | AsShared () const |
| Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多... | |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
额外继承的成员函数 | |
Protected 成员函数 继承自 TSharedFromThis< FSceneViewExtensionBase, ESPMode::ThreadSafe > | |
| FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
| Hidden stub assignment operator | |
| TSharedFromThis () | |
| Hidden stub constructor | |
| TSharedFromThis (TSharedFromThis const &) | |
| Hidden stub copy constructor | |
| ~TSharedFromThis () | |
| Hidden destructor | |
静态 Protected 成员函数 继承自 TSharedFromThis< FSceneViewExtensionBase, ESPMode::ThreadSafe > | |
| static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
| static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
Default base implementation of IXRCamera.
Can either be used directly by implementations or extended with platform-specific features.
|
overridevirtual |
Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation.
If this is not done then the PC will face differently than the camera, which might be good (depending on the game).
实现了 IXRCamera.
|
overridevirtual |
Calculates the offset for the camera position, given the specified eye pass, position and rotation.
An XR plugin implementing stereo rendering should forward all calls of CalculateStereoViewOffset to this method.
实现了 IXRCamera.
|
inlineoverridevirtual |
Returns a unique identifier that can be used to reference this device within the system is belongs to.