G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FAssetData Struct Reference

A struct to hold important information about an assets found by the Asset Registry This struct is transient and should never be serialized. More...

Public Member Functions

Functions
FString GetObjectPathString () const
bool IsInstanceOf (const UClass BaseClass, bool bResolveClass=false) const
FAssetData & opAssign (FAssetData Other)
FSoftObjectPath GetSoftObjectPath () const

Public Attributes

AssetData
FName PackagePath
 The path to the package in which the asset is found, this is /Game/Path with the Package stripped off.
FName AssetName
 The name of the asset without the package.
FName AssetClass
 The name of the asset's class.
FTopLevelAssetPath AssetClassPath
 The path name of the asset's class.
FName PackageName
 The name of the package in which the asset is found, this is the full long package name such as /Game/Path/Package.
Variables
const FString ObjectPathString
const FSoftObjectPath SoftObjectPath

Detailed Description

A struct to hold important information about an assets found by the Asset Registry This struct is transient and should never be serialized.

Member Function Documentation

◆ GetObjectPathString()

FString GetObjectPathString ( ) const

◆ GetSoftObjectPath()

FSoftObjectPath GetSoftObjectPath ( ) const

◆ IsInstanceOf()

bool IsInstanceOf ( const UClass BaseClass,
bool bResolveClass = false ) const

◆ opAssign()

FAssetData & opAssign ( FAssetData Other)

Member Data Documentation

◆ AssetClass

FName AssetClass

The name of the asset's class.

◆ AssetClassPath

FTopLevelAssetPath AssetClassPath

The path name of the asset's class.

◆ AssetName

FName AssetName

The name of the asset without the package.

◆ ObjectPathString

const FString ObjectPathString

◆ PackageName

FName PackageName

The name of the package in which the asset is found, this is the full long package name such as /Game/Path/Package.

◆ PackagePath

FName PackagePath

The path to the package in which the asset is found, this is /Game/Path with the Package stripped off.

◆ SoftObjectPath

const FSoftObjectPath SoftObjectPath