Navigation
Unreal Engine C++ API Reference > Runtime > AugmentedReality
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UARCandidateImage
References
Module | AugmentedReality |
Header | /Engine/Source/Runtime/AugmentedReality/Public/ARTypes.h |
Include | #include "ARTypes.h" |
Syntax
class UARCandidateImage : public UDataAsset
Remarks
An asset that points to an image to be detected in a scene and provides the size of the object in real life
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< UTexture2D > | CandidateTexture | The image to detect in scenes |
![]() |
FString | FriendlyName | The friendly name to report back when the image is detected in scenes |
![]() |
float | Height | The physical height in centimeters of the object that this candidate image represents. |
![]() |
EARCandidateImageOrientation | Orientation | The orientation to treat the candidate image as. Ignored in ARCore |
![]() |
float | Width | The physical width in centimeters of the object that this candidate image represents |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UARCandidateImage * | CreateNewARCandidateImage
(
UTexture2D* InCandidateTexture, |
|
![]() ![]() |
UTexture2D * | ||
![]() ![]() |
const FString & | ||
![]() ![]() |
EARCandidateImageOrientation | ||
![]() ![]() |
float | ||
![]() ![]() |
float |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Used to enforce physical sizes matching the aspect ratio of the images |