G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UAnimationCurveIdentifierExtensions Class Reference

Script-exposed functionality for wrapping native functionality and constructing valid FAnimationCurveIdentifier instances. More...

Static Public Member Functions

Curve
static ERawCurveTrackTypes GetType (FAnimationCurveIdentifier &Identifier)
static FName GetName (FAnimationCurveIdentifier &Identifier)
static bool IsValid (FAnimationCurveIdentifier &Identifier)
Curves
static FAnimationCurveIdentifier FindCurveIdentifier (const USkeleton InSkeleton, FName Name, ERawCurveTrackTypes CurveType)
 Tries to construct a valid FAnimationCurveIdentifier instance. It tries to find the underlying SmartName on the provided Skeleton for the provided curve type.
static TArray< FAnimationCurveIdentifier > GetCurveIdentifiers (USkeleton InSkeleton, ERawCurveTrackTypes CurveType)
 Retrieves all curve identifiers for a specific curve types from the provided Skeleton.
static FAnimationCurveIdentifier GetCurveIdentifier (USkeleton InSkeleton, FName Name, ERawCurveTrackTypes CurveType)
static bool GetTransformChildCurveIdentifier (FAnimationCurveIdentifier &InOutIdentifier, ETransformCurveChannel Channel, EVectorCurveChannel Axis)
 Converts a valid FAnimationCurveIdentifier instance with RCT_Transform curve type to target a child curve.
static void SetCurveIdentifier (FAnimationCurveIdentifier &InOutIdentifier, FName Name, ERawCurveTrackTypes CurveType)
 Constructs a valid FAnimationCurveIdentifier instance.
Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UBlueprintFunctionLibrary
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Additional Inherited Members

Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

Script-exposed functionality for wrapping native functionality and constructing valid FAnimationCurveIdentifier instances.

Member Function Documentation

◆ FindCurveIdentifier()

FAnimationCurveIdentifier FindCurveIdentifier ( const USkeleton InSkeleton,
FName Name,
ERawCurveTrackTypes CurveType )
static

Tries to construct a valid FAnimationCurveIdentifier instance. It tries to find the underlying SmartName on the provided Skeleton for the provided curve type.

Parameters
InSkeletonSkeleton on which to look for the curve name
NameName of the curve to find
CurveTypeType of the curve to find
Returns
Valid FAnimationCurveIdentifier if the name exists on the skeleton and the operation was successful, invalid otherwise

◆ GetCurveIdentifier()

FAnimationCurveIdentifier GetCurveIdentifier ( USkeleton InSkeleton,
FName Name,
ERawCurveTrackTypes CurveType )
static

◆ GetCurveIdentifiers()

TArray< FAnimationCurveIdentifier > GetCurveIdentifiers ( USkeleton InSkeleton,
ERawCurveTrackTypes CurveType )
static

Retrieves all curve identifiers for a specific curve types from the provided Skeleton.

Parameters
InSkeletonSkeleton from which to retrieve the curve identifiers
CurveTypeType of the curve identifers to retrieve
Returns
Array of FAnimationCurveIdentifier instances each representing a unique curve if the operation was successful, empyty array otherwise

◆ GetName()

FName GetName ( FAnimationCurveIdentifier & Identifier)
static
Returns
The name used for displaying the Curve Identifier

◆ GetTransformChildCurveIdentifier()

bool GetTransformChildCurveIdentifier ( FAnimationCurveIdentifier & InOutIdentifier,
ETransformCurveChannel Channel,
EVectorCurveChannel Axis )
static

Converts a valid FAnimationCurveIdentifier instance with RCT_Transform curve type to target a child curve.

Parameters
InOutIdentifier[out] Identifier to be converted
ChannelChannel to target
AxisAxis within channel to target
Returns
Valid FAnimationCurveIdentifier if the operation was successful

◆ GetType()

ERawCurveTrackTypes GetType ( FAnimationCurveIdentifier & Identifier)
static
Returns
The animation curve type for the curve represented by the Curve Identifier

◆ IsValid()

bool IsValid ( FAnimationCurveIdentifier & Identifier)
static
Returns
Whether or not the Curve Identifier is valid

◆ SetCurveIdentifier()

void SetCurveIdentifier ( FAnimationCurveIdentifier & InOutIdentifier,
FName Name,
ERawCurveTrackTypes CurveType )
static

Constructs a valid FAnimationCurveIdentifier instance.

Parameters
InOutIdentifierThe identifier to set up
NameName of the curve to find or add
CurveTypeType of the curve to find or add

◆ StaticClass()

UClass StaticClass ( )
static