UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IXRSystemAssets.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "IIdentifiableXRDevice.h" // for IXRSystemIdentifier
9
10class UPrimitiveComponent;
11class AActor;
12enum class EControllerHand : uint8;
13
15
17{
18public:
20 {
21 static FName FeatureName = FName(TEXT("XRSystemAssets"));
22 return FeatureName;
23 }
24
39
59
77 virtual UPrimitiveComponent* CreateRenderComponent(const int32 DeviceId, AActor* Owner, EObjectFlags Flags, const bool bForceSynchronous = false, const FXRComponentLoadComplete& OnLoadComplete = FXRComponentLoadComplete()) = 0;
78};
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:48
EControllerHand
Definition InputCoreTypes.h:17
EObjectFlags
Definition ObjectMacros.h:552
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Actor.h:257
Definition NameTypes.h:617
Definition IModularFeature.h:12
Definition IXRSystemAssets.h:17
virtual int32 GetDeviceId(EControllerHand ControllerHand)=0
virtual bool EnumerateRenderableDevices(TArray< int32 > &DeviceListOut)=0
static FName GetModularFeatureName()
Definition IXRSystemAssets.h:19
virtual UPrimitiveComponent * CreateRenderComponent(const int32 DeviceId, AActor *Owner, EObjectFlags Flags, const bool bForceSynchronous=false, const FXRComponentLoadComplete &OnLoadComplete=FXRComponentLoadComplete())=0
Definition IIdentifiableXRDevice.h:14
Definition Array.h:670