|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <ArticyBaseTypes.h>
Public Member Functions | |
| FArticyId (const uint64 &Value) | |
| FArticyId (const FString &Value) | |
| FArticyId (const TSharedPtr< FJsonValue > Json) | |
| bool | InitFromString (const FString InSourceString) |
| uint64 | Get () const |
| FArticyId & | operator= (const uint64 &Value) |
| FArticyId & | operator= (const FString &Value) |
| operator uint64 const () const | |
| class UArticyPrimitive * | GetObject (const UObject *WorldContext) const |
| template<typename T> | |
| T * | GetObject (const UObject *WorldContext) const |
| bool | IsNull () const |
| FString | ToString () const |
| FString | ToAssetFriendlyString () const |
Public Attributes | |
| int32 | Low = 0 |
| int32 | High = 0 |
Friends | |
| uint32 | GetTypeHash (const FArticyId &Id) |
64-bit ID used for referencing Articy objects, exposable to blueprints.
|
inline |
Implicit conversion from uint64.
|
inline |
Implicit conversion from FString.
|
inline |
Json deserializer.
|
inline |
Retrieves the 64-bit representation of the ID.
|
inline |
Retrieves the referenced object, cast to T.
| T | The type to cast the object to. |
| WorldContext | The world context object. |
| UArticyPrimitive * FArticyId::GetObject | ( | const UObject * | WorldContext | ) | const |
Retrieves the referenced object (single runtime copy of the referenced asset).
| WorldContext | The world context object. |
Retrieves the UArticyPrimitive object associated with this ID.
| WorldContext | The world context object. |
| bool FArticyId::InitFromString | ( | const FString | InSourceString | ) |
Initializes the FArticyId from a string containing "Low=" and "High=". Used in custom UI elements like pins where direct access is often not possible.
| InSourceString | The string to initialize the ID from. |
Initializes the FArticyId from a given string containing "Low=" and "High=".
| InSourceString | The string from which to initialize the ID. |
|
inline |
Checks if the ID is null (both Low and High are zero).
|
inline |
Implicit conversion to uint64.
|
inline |
Implicit assignment of FString.
|
inline |
Implicit assignment of uint64.
|
inline |
Converts the ID to an asset-friendly string format "Low_High". This function is used instead of the normal ToString function when asset-friendly names are required (no commas, etc.).
|
inline |
Converts the ID to a string format "(Low=..., High=...)". This function is primarily used for custom UI works that require IDs to be set via String.
|
friend |
| int32 FArticyId::High = 0 |
The higher 32 bit of the ID.
| int32 FArticyId::Low = 0 |
The lower 32 bit of the ID.