Navigation
API > API/Plugins > API/Plugins/MixedRealityCaptureFramework
| Name | UMixedRealityCaptureComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MixedRealityCaptureFramework/Source/MixedRealityCaptureFramework/Public/MixedRealityCaptureComponent.h |
| Include Path | #include "MixedRealityCaptureComponent.h" |
Syntax
UCLASS (ClassGroup=Rendering, EditInlineNew, Blueprintable, BlueprintType, Config=Engine,
Meta=(BlueprintSpawnableComponent))
class UMixedRealityCaptureComponent : public USceneCaptureComponent2D
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → USceneCaptureComponent → USceneCaptureComponent2D → UMixedRealityCaptureComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMixedRealityCaptureComponent
(
const FObjectInitializer& ObjectInitializer |
MixedRealityCaptureComponent.h |
Classes
| Name | Remarks |
|---|---|
| FMRCaptureFeedOpenedDelegate |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoLoadConfiguration | bool | Determines if this component should attempt to load the default MR calibration file on initialization | MixedRealityCaptureComponent.h |
|
| bProjectionDepthTracking | bool | Enabled by default, the projection plane tracks with the HMD to simulate the depth of the player. | MixedRealityCaptureComponent.h |
|
| CaptureFeedRef | FMrcVideoCaptureFeedIndex | MixedRealityCaptureComponent.h |
|
|
| GarbageMatteCaptureTextureTarget | TObjectPtr< UTextureRenderTarget2D > | MixedRealityCaptureComponent.h |
|
|
| LensDistortionParameters | FOpenCVLensDistortionParameters | MixedRealityCaptureComponent.h |
|
|
| MediaSource | TObjectPtr< UMediaPlayer > | MixedRealityCaptureComponent.h |
|
|
| OnCaptureSourceOpened | FMRCaptureFeedOpenedDelegate | MixedRealityCaptureComponent.h |
|
|
| ProjectionDepthOffset | float | Depth offset (in UE units) for the card that the camera feed is projected onto. | MixedRealityCaptureComponent.h |
|
| TrackingLatency | int32 | Millisecond delay to apply to motion controller components when rendering to the capture view (to better align with latent camera feeds) | MixedRealityCaptureComponent.h |
|
| TrackingSourceName | FName | MixedRealityCaptureComponent.h |
|
|
| VideoProcessingMaterial | TObjectPtr< UMaterialInterface > | MixedRealityCaptureComponent.h |
|
|
| VideoProcessingParams | FMrcVideoProcessingParams | MixedRealityCaptureComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CalibratedFOV | float | MixedRealityCaptureComponent.h | ||
| DistortionDisplacementMap | TObjectPtr< UTexture2D > | MixedRealityCaptureComponent.h |
|
|
| GarbageMatteCaptureComponent | TObjectPtr< UMrcGarbageMatteCaptureComponent > | MixedRealityCaptureComponent.h |
|
|
| PairedTracker | TObjectPtr< UMotionControllerComponent > | MixedRealityCaptureComponent.h |
|
|
| ProjectionActor | TObjectPtr< UChildActorComponent > | MixedRealityCaptureComponent.h |
|
|
| ProxyMesh | TObjectPtr< UStaticMesh > | MixedRealityCaptureComponent.h |
|
|
| ProxyMeshComponent | TObjectPtr< UStaticMeshComponent > | MixedRealityCaptureComponent.h |
|
|
| RelativeOriginType | EHMDTrackingOrigin::Type | MixedRealityCaptureComponent.h | ||
| TrackingOriginOffset | TObjectPtr< USceneComponent > | MixedRealityCaptureComponent.h |
|
|
| UndistortedCameraInfo | FOpenCVCameraViewInfo | MixedRealityCaptureComponent.h | ||
| ViewExtension | TSharedPtr< FMrcLatencyViewExtension, ESPMode::ThreadSafe > | MixedRealityCaptureComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyCalibrationData
(
UMrcCalibrationData* ConfigData |
MixedRealityCaptureComponent.h |
|
|
UMrcCalibrationData * ConstructCalibrationData() |
MixedRealityCaptureComponent.h |
|
|
void DetatchFromDevice() |
MixedRealityCaptureComponent.h |
|
|
void FillOutCalibrationData
(
UMrcCalibrationData* Dst |
MixedRealityCaptureComponent.h |
|
|
AMrcProjectionActor * GetProjectionActor() |
MixedRealityCaptureComponent.h |
|
|
AActor * GetProjectionActor_K2() |
MixedRealityCaptureComponent.h |
|
|
int32 GetTrackingDelay() |
MixedRealityCaptureComponent.h |
|
|
bool IsTracked() |
MixedRealityCaptureComponent.h |
|
|
bool LoadConfiguration
(
const FString& SlotName, |
MixedRealityCaptureComponent.h |
|
|
bool LoadDefaultConfiguration() |
MixedRealityCaptureComponent.h |
|
|
void RefreshCameraFeed() |
MixedRealityCaptureComponent.h | ||
void RefreshDevicePairing() |
MixedRealityCaptureComponent.h | ||
void RefreshTrackingOriginOffset() |
MixedRealityCaptureComponent.h | ||
bool SaveAsDefaultConfiguration() |
MixedRealityCaptureComponent.h |
|
|
bool SaveAsDefaultConfiguration_K2() |
MixedRealityCaptureComponent.h |
|
|
bool SaveConfiguration
(
const FString& SlotName, |
MixedRealityCaptureComponent.h |
|
|
bool SaveConfiguration_K2
(
const FString& SlotName, |
MixedRealityCaptureComponent.h |
|
|
void SetCaptureDevice
(
const FMrcVideoCaptureFeedIndex& FeedRef |
MixedRealityCaptureComponent.h |
|
|
void SetDeviceAttachment
(
FName SourceName |
MixedRealityCaptureComponent.h |
|
|
void SetEnableProjectionDepthTracking
(
bool bEnable |
Enabled by default, the projection plane tracks with the HMD to simulate the depth of the player. | MixedRealityCaptureComponent.h |
|
bool SetGarbageMatteActor
(
AMrcGarbageMatteActor* Actor |
Set an external garbage matte actor to be used instead of the mixed reality component's normal configuration save game based actor. | MixedRealityCaptureComponent.h |
|
void SetLensDistortionParameters
(
const FOpenCVLensDistortionParameters& ModelRef |
MixedRealityCaptureComponent.h |
|
|
void SetProjectionDepthOffset
(
float DepthOffset |
MixedRealityCaptureComponent.h |
|
|
void SetTrackingDelay
(
int32 DelayMS |
MixedRealityCaptureComponent.h |
|
|
void SetVidProcessingParams
(
const FMrcVideoProcessingParams& NewVidProcessingParams |
MixedRealityCaptureComponent.h |
|
|
void SetVidProjectionMat
(
UMaterialInterface* NewMaterial |
MixedRealityCaptureComponent.h |
|
Overridden from USceneCaptureComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const AActor * GetViewOwner() |
MixedRealityCaptureComponent.h | ||
virtual void UpdateSceneCaptureContents
(
FSceneInterface* Scene, |
MixedRealityCaptureComponent.h |
Overridden from USceneComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnUpdateTransform
(
EUpdateTransformFlags UpdateTransformFlags, |
MixedRealityCaptureComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate
(
bool bReset |
MixedRealityCaptureComponent.h | ||
virtual void Deactivate() |
MixedRealityCaptureComponent.h | ||
virtual bool GetEditorPreviewInfo
(
float DeltaTime, |
MixedRealityCaptureComponent.h | ||
virtual void InitializeComponent() |
MixedRealityCaptureComponent.h | ||
virtual void OnComponentDestroyed
(
bool bDestroyingHierarchy |
MixedRealityCaptureComponent.h | ||
virtual void OnRegister() |
MixedRealityCaptureComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
MixedRealityCaptureComponent.h |