ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
UArticyFunctionLibrary Class Reference

#include <ArticyFunctionLibrary.h>

Inheritance diagram for UArticyFunctionLibrary:

Public Member Functions

 UFUNCTION (BlueprintPure, meta=(DisplayName="Equal (ArticyId)", CompactNodeTitle="==", Keywords="== equal"), Category="ArticyId") static bool ArticyId_Equal(const FArticyId &A
 UFUNCTION (BlueprintPure, meta=(DisplayName="Not Equal (ArticyId)", CompactNodeTitle="!=", Keywords="!= not equal"), Category="ArticyId") static bool ArticyId_NotEqual(const FArticyId &A

Static Public Member Functions

static UArticyObjectArticyRef_GetObject (FArticyRef Ref, TSubclassOf< class UArticyObject > CastTo, const UObject *WorldContext)
static void ArticyRef_SetObject (UPARAM(Ref) FArticyRef &Ref, UPARAM(Ref) UArticyObject *Object)
static FArticyId ArticyRef_GetObjectId (FArticyRef Ref)
static void ArticyRef_SetObjectId (UPARAM(Ref) FArticyRef &Ref, UPARAM(Ref) FArticyId Id)
static bool MatchesRaw (const FArticyRef &A, const FArticyRef &B)
static bool MatchesEffective (const FArticyRef &A, const FArticyRef &B)
static UArticyObjectArticyId_GetObject (FArticyId Id, TSubclassOf< class UArticyObject > CastTo, const UObject *WorldContext)
static FArticyId ArticyId_FromString (UPARAM(Ref) const FString &hex)
static FString ArticyId_ToString (UPARAM(Ref) const FArticyId &Id)
static bool ArticyId_IsValid (const FArticyId &Id)
static FArticyGvName ArticyGvName_MakeFromFullName (const FName &FullName)
static FArticyGvName ArticyGvName_MakeFromVariableAndNamespace (const FName &Variable, const FName &Namespace)
static TScriptInterface< class IArticyFlowObjectGetBranchTarget (UPARAM(ref) const struct FArticyBranch &Branch)
static int GetNodeSeenCounter (TScriptInterface< class IArticyFlowObject > Node, const UObject *WorldContext)
static int SetNodeSeenCounter (TScriptInterface< class IArticyFlowObject > Node, int Value, const UObject *WorldContext)

Public Attributes

const FArticyIdB

Detailed Description

Function library for handling Articy objects and IDs in Unreal Engine.

Member Function Documentation

◆ ArticyGvName_MakeFromFullName()

FArticyGvName UArticyFunctionLibrary::ArticyGvName_MakeFromFullName ( const FName & FullName)
static

Creates an ArticyGvName from a full name.

Parameters
FullNameThe full name to use.
Returns
The corresponding ArticyGvName.

◆ ArticyGvName_MakeFromVariableAndNamespace()

FArticyGvName UArticyFunctionLibrary::ArticyGvName_MakeFromVariableAndNamespace ( const FName & Variable,
const FName & Namespace )
static

Creates an ArticyGvName from a variable and namespace.

Parameters
VariableThe variable name.
NamespaceThe namespace name.
Returns
The corresponding ArticyGvName.

◆ ArticyId_FromString()

FArticyId UArticyFunctionLibrary::ArticyId_FromString ( UPARAM(Ref) const FString & hex)
static

Creates an ArticyId from a hex string.

Parameters
hexThe hex string to convert.
Returns
The ArticyId corresponding to the hex string.

Creates an ArticyId from a hex string.

Parameters
hexThe hex string to convert.
Returns
The corresponding ArticyId.

◆ ArticyId_GetObject()

UArticyObject * UArticyFunctionLibrary::ArticyId_GetObject ( FArticyId Id,
TSubclassOf< class UArticyObject > CastTo,
const UObject * WorldContext )
static

Converts an ArticyId to an object.

Parameters
IdThe ArticyId to convert.
CastToThe subclass type to cast the object to.
WorldContextThe context within which the object is retrieved.
Returns
The UArticyObject referenced by the ArticyId.

Retrieves the object referenced by an ArticyId.

Parameters
IdThe ArticyId to get the object from.
CastToThe subclass type to cast the object to.
WorldContextThe context within which the object is retrieved.
Returns
The referenced UArticyObject.

◆ ArticyId_IsValid()

bool UArticyFunctionLibrary::ArticyId_IsValid ( const FArticyId & Id)
static

Checks if an ArticyId is valid.

Parameters
IdThe ArticyId to check.
Returns
True if the ID is valid.

◆ ArticyId_ToString()

FString UArticyFunctionLibrary::ArticyId_ToString ( UPARAM(Ref) const FArticyId & Id)
static

Gets the HEX string from an ID.

Parameters
IdThe ArticyId to convert.
Returns
The hex string representation of the ID.

Converts an ArticyId to a hex string.

Parameters
IdThe ArticyId to convert.
Returns
The hex string representation of the ID.

◆ ArticyRef_GetObject()

UArticyObject * UArticyFunctionLibrary::ArticyRef_GetObject ( FArticyRef Ref,
TSubclassOf< class UArticyObject > CastTo,
const UObject * WorldContext )
static

Converts an ArticyRef to an object.

Parameters
RefThe ArticyRef to convert.
CastToThe subclass type to cast the object to.
WorldContextThe context within which the object is retrieved.
Returns
The UArticyObject referenced by the ArticyRef.

Retrieves the object referenced by an ArticyRef.

Parameters
RefThe ArticyRef to get the object from.
CastToThe subclass type to cast the object to.
WorldContextThe context within which the object is retrieved.
Returns
The referenced UArticyObject.

◆ ArticyRef_GetObjectId()

FArticyId UArticyFunctionLibrary::ArticyRef_GetObjectId ( FArticyRef Ref)
static

Converts an ArticyRef to an FArticyId.

Parameters
RefThe ArticyRef to convert.
Returns
The FArticyId of the referenced object.

Gets the ID of the object referenced by an ArticyRef.

Parameters
RefThe ArticyRef to get the object ID from.
Returns
The ID of the referenced object.

◆ ArticyRef_SetObject()

void UArticyFunctionLibrary::ArticyRef_SetObject ( UPARAM(Ref) FArticyRef & Ref,
UPARAM(Ref) UArticyObject * Object )
static

Sets the referenced object of an ArticyRef.

Parameters
RefThe ArticyRef to modify.
ObjectThe UArticyObject to set as the reference.

Sets the object reference of an ArticyRef.

Parameters
RefThe ArticyRef to set the object for.
ObjectThe UArticyObject to set as reference.

◆ ArticyRef_SetObjectId()

void UArticyFunctionLibrary::ArticyRef_SetObjectId ( UPARAM(Ref) FArticyRef & Ref,
UPARAM(Ref) FArticyId Id )
static

Sets the referenced object ID of an ArticyRef.

Parameters
RefThe ArticyRef to modify.
IdThe FArticyId to set.

Sets the ID of the object referenced by an ArticyRef.

Parameters
RefThe ArticyRef to set the object ID for.
IdThe ID to set for the reference.

◆ GetBranchTarget()

TScriptInterface< IArticyFlowObject > UArticyFunctionLibrary::GetBranchTarget ( UPARAM(ref) const struct FArticyBranch & Branch)
static

Gets the last object in a branch.

Parameters
BranchThe branch to analyze.
Returns
The target of the branch.

Retrieves the target of a given ArticyBranch.

Parameters
BranchThe branch to get the target from.
Returns
The target flow object.

◆ GetNodeSeenCounter()

int UArticyFunctionLibrary::GetNodeSeenCounter ( TScriptInterface< class IArticyFlowObject > Node,
const UObject * WorldContext )
static

Gets the seen counter for a specific node.

Parameters
NodeThe node to query.
WorldContextThe context within which the counter is retrieved.
Returns
The seen counter value.

Gets the seen counter for a specific node.

Parameters
NodeThe node to get the seen counter for.
WorldContextThe context within which the counter is retrieved.
Returns
The seen counter value.

◆ MatchesEffective()

bool UArticyFunctionLibrary::MatchesEffective ( const FArticyRef & A,
const FArticyRef & B )
static

Compares two ArticyRefs for effective equality.

Parameters
AThe first ArticyRef.
BThe second ArticyRef.
Returns
True if they are effectively equal.

◆ MatchesRaw()

bool UArticyFunctionLibrary::MatchesRaw ( const FArticyRef & A,
const FArticyRef & B )
static

Compares two ArticyRefs for raw equality.

Parameters
AThe first ArticyRef.
BThe second ArticyRef.
Returns
True if they are raw-equal.

Compares two ArticyRefs for raw equality.

Parameters
AThe first ArticyRef.
BThe second ArticyRef.
Returns
True if they are equal in raw terms.

◆ SetNodeSeenCounter()

int UArticyFunctionLibrary::SetNodeSeenCounter ( TScriptInterface< class IArticyFlowObject > Node,
int Value,
const UObject * WorldContext )
static

Sets the seen counter for a specific node.

Parameters
NodeThe node to modify.
ValueThe new seen counter value.
WorldContextThe context within which the counter is set.
Returns
The updated seen counter value.

Sets the seen counter for a specific node.

Parameters
NodeThe node to set the seen counter for.
ValueThe value to set for the seen counter.
WorldContextThe context within which the counter is set.
Returns
The updated seen counter value.

◆ UFUNCTION() [1/2]

UArticyFunctionLibrary::UFUNCTION ( BlueprintPure ,
meta = (DisplayName = "Equal (ArticyId)", CompactNodeTitle = "==", Keywords = "== equal"),
Category = "ArticyId" ) const &

Checks if two ArticyIds are equal.

Parameters
AThe first ArticyId.
BThe second ArticyId.
Returns
True if the IDs are equal.

◆ UFUNCTION() [2/2]

UArticyFunctionLibrary::UFUNCTION ( BlueprintPure ,
meta = (DisplayName = "Not Equal (ArticyId)", CompactNodeTitle = "!=", Keywords = "!= not equal"),
Category = "ArticyId" ) const &

Checks if two ArticyIds are not equal.

Parameters
AThe first ArticyId.
BThe second ArticyId.
Returns
True if the IDs are not equal.

The documentation for this class was generated from the following files: