Navigation
API > API/Runtime > API/Runtime/AugmentedReality
Base class for all AR texture types. Derived from UTexture instead of UTexture2D because UTexture2D is all about streaming and source art ? probably should have been UTexture2DDynamic
| Name | UARTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARTextures.h |
| Include Path | #include "ARTextures.h" |
Syntax
UCLASS (Abstract, BlueprintType)
class UARTexture : public UTexture
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStreamableRenderAsset → UTexture → UARTexture
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UARTexture
(
const FObjectInitializer& ObjectInitializer |
ARTextures.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExternalTextureGuid | FGuid | The guid of texture that gets registered as an external texture | ARTextures.h |
|
| Size | FVector2f | The width and height of the texture | ARTextures.h |
|
| TextureType | EARTextureType | The type of texture this is | ARTextures.h |
|
| Timestamp | float | The timestamp this texture was captured at | ARTextures.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FGuid GetExternalTextureGuid() |
ARTextures.h | ||
virtual uint32 GetSurfaceArraySize() |
ARTextures.h | ||
virtual float GetSurfaceDepth() |
ARTextures.h | ||
virtual float GetSurfaceHeight() |
ARTextures.h | ||
virtual float GetSurfaceWidth() |
UTexture interface implementation. | ARTextures.h | |
virtual ETextureClass GetTextureClass() |
ARTextures.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T * CreateARTexture
(
EARTextureType InTextureType |
Factory function for creating a new AR texture of a particular type | ARTextures.h |