Show / Hide Table of Contents

Class PrimaryDataAsset

A DataAsset that implements GetPrimaryAssetId and has asset bundle support, which makes it something that can be manually loaded/unloaded from the AssetManager Making blueprint subclasses of this is useful because you can make blueprint-only primary asset types Blueprint subclasses will end up with a PrimaryAssetType equal to the name of the first native class found going up the hierarchy, or the top level blueprint class that directly subclasses this IE, if you have PrimaryDataAsset -> ParentNativeClass -> ChildNativeClass -> BlueprintAsset the type will be ChildNativeClass Whereas if you have PrimaryDataAsset -> ParentBlueprintClass -> ChildBlueprintClass the type will be ParentBlueprintClass

Inheritance
System.Object
UObject
DataAsset
PrimaryDataAsset
PrimaryAssetLabel
Inherited Members
DataAsset.NativeClass
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.Engine
Assembly: UE4DotNet.dll
Syntax
public class PrimaryDataAsset : DataAsset
Remarks

To override this behavior, override GetPrimaryAssetId in your native class

Properties

| Improve this Doc View Source

AssetBundleData

Asset Bundle data computed at save time. In cooked builds this is accessible from AssetRegistry

Declaration
public AssetBundleData AssetBundleData { get; set; }
Property Value
Type Description
AssetBundleData
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static PrimaryDataAsset DefaultObject { get; }
Property Value
Type Description
PrimaryDataAsset
| 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

New(UObject, Name)

Spawn an object of this class

Declaration
public static PrimaryDataAsset New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
PrimaryDataAsset

Operators

| Improve this Doc View Source

Implicit(IntPtr to PrimaryDataAsset)

Convert from IntPtr to UObject

Declaration
public static implicit operator PrimaryDataAsset(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
PrimaryDataAsset
  • Improve this Doc
  • View Source
Back to top Generated by DocFX