Navigation
API > API/Runtime > API/Runtime/AugmentedReality
An asset that points to an image to be detected in a scene and provides the size of the object in real life
| Name | UARCandidateImage |
| Type | class |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARTypes.h |
| Include Path | #include "ARTypes.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UARCandidateImage : public UDataAsset
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataAsset → UARCandidateImage
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTexture2D * GetCandidateTexture () |
ARTypes.h |
|
|
const FString & GetFriendlyName () |
ARTypes.h |
|
|
| ARTypes.h |
|
||
float GetPhysicalHeight () |
ARTypes.h |
|
|
float GetPhysicalWidth () |
ARTypes.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Used to enforce physical sizes matching the aspect ratio of the images | ARTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UARCandidateImage * CreateNewARCandidateImage
(
UTexture2D* InCandidateTexture, |
ARTypes.h |