Class AssetRegistryHelpers
Inheritance
System.Object
AssetRegistryHelpers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class AssetRegistryHelpers : UObject
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static AssetRegistryHelpers DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
CreateAssetData(UObject, Boolean)
Creates asset data from a UObject.
Declaration
public static AssetData CreateAssetData(UObject InAsset, bool bAllowBlueprintClass)
Parameters
Type |
Name |
Description |
UObject |
InAsset |
|
System.Boolean |
bAllowBlueprintClass |
|
Returns
|
Improve this Doc
View Source
GetAsset(AssetData)
Returns the asset UObject if it is loaded or loads the asset if it is unloaded then returns the result
Declaration
public static UObject GetAsset(AssetData InAssetData)
Parameters
Returns
|
Improve this Doc
View Source
GetAssetRegistry()
Declaration
public static AssetRegistry GetAssetRegistry()
Returns
|
Improve this Doc
View Source
GetClass(AssetData)
Declaration
public static SubclassOf<UObject> GetClass(AssetData InAssetData)
Parameters
Returns
|
Improve this Doc
View Source
GetExportTextName(AssetData)
Returns the name for the asset in the form: Class'ObjectPath'
Declaration
public static string GetExportTextName(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetFullName(AssetData)
Returns the full name for the asset in the form: Class ObjectPath
Declaration
public static string GetFullName(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetTagValue(AssetData, Name)
Gets the value associated with the given tag as a string
Declaration
public static (string, bool) GetTagValue(AssetData InAssetData, Name InTagName)
Parameters
Returns
Type |
Description |
System.ValueTuple<System.String, System.Boolean> |
|
|
Improve this Doc
View Source
IsAssetLoaded(AssetData)
Returns true if the asset is loaded
Declaration
public static bool IsAssetLoaded(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsRedirector(AssetData)
Returns true if the this asset is a redirector.
Declaration
public static bool IsRedirector(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUAsset(AssetData)
Returns true if this is the primary asset in a package, true for maps and assets but false for secondary objects like class redirectors
Declaration
public static bool IsUAsset(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsValid(AssetData)
Checks to see if this AssetData refers to an asset or is NULL
Declaration
public static bool IsValid(AssetData InAssetData)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static AssetRegistryHelpers New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
Populates the FARFilters tags and values map with the passed in tags and values
Declaration
public static ARFilter SetFilterTagsAndValues(ARFilter InFilter, byte InTagsAndValues)
Parameters
Type |
Name |
Description |
ARFilter |
InFilter |
|
System.Byte |
InTagsAndValues |
|
Returns
|
Improve this Doc
View Source
ToSoftObjectPath(AssetData)
Convert to a SoftObjectPath for loading
Declaration
public static SoftObjectPath ToSoftObjectPath(AssetData InAssetData)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to AssetRegistryHelpers)
Convert from IntPtr to UObject
Declaration
public static implicit operator AssetRegistryHelpers(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns