Show / Hide Table of Contents

Class AssetRegistryHelpers

Asset Registry Helpers

Inheritance
System.Object
UObject
AssetRegistryHelpers
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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)
Namespace: UE4.AssetRegistry
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
Type Description
AssetRegistryHelpers
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

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
Type Description
AssetData
Remarks

@param InAsset The asset to create asset data for @param bAllowBlueprintClass By default trying to create asset data for a blueprint class will create one for the UBlueprint instead

| 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
Type Name Description
AssetData InAssetData
Returns
Type Description
UObject
| Improve this Doc View Source

GetAssetRegistry()

Get Asset Registry

Declaration
public static AssetRegistry GetAssetRegistry()
Returns
Type Description
AssetRegistry
| Improve this Doc View Source

GetClass(AssetData)

Get Class

Declaration
public static SubclassOf<UObject> GetClass(AssetData InAssetData)
Parameters
Type Name Description
AssetData InAssetData
Returns
Type Description
SubclassOf<UObject>
| 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
Type Name Description
AssetData InAssetData
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
Type Name Description
AssetData InAssetData
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
Type Name Description
AssetData InAssetData
Name InTagName
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
Type Name Description
AssetData InAssetData
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
Type Name Description
AssetData InAssetData
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
Type Name Description
AssetData InAssetData
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
Type Name Description
AssetData InAssetData
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
Type Name Description
UObject obj
Name name
Returns
Type Description
AssetRegistryHelpers
| Improve this Doc View Source

SetFilterTagsAndValues(ARFilter, Byte)

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
Type Description
ARFilter
| Improve this Doc View Source

ToSoftObjectPath(AssetData)

Convert to a SoftObjectPath for loading

Declaration
public static SoftObjectPath ToSoftObjectPath(AssetData InAssetData)
Parameters
Type Name Description
AssetData InAssetData
Returns
Type Description
SoftObjectPath

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
Type Description
AssetRegistryHelpers
  • Improve this Doc
  • View Source
Back to top Generated by DocFX