Class DataAsset
Base class for a simple asset containing data. The editor will list this in the content browser if you inherit from this class
Inheritance
System.Object
DataAsset
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)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class DataAsset : UObject
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static DataAsset DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| DataAsset |
NativeClass
Native Class
Declaration
public SubclassOf<DataAsset> NativeClass { get; set; }
Property Value
| Type | Description |
|---|---|
| SubclassOf<DataAsset> |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static DataAsset New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| DataAsset |
Operators
| Improve this Doc View SourceImplicit(IntPtr to DataAsset)
Convert from IntPtr to UObject
Declaration
public static implicit operator DataAsset(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| DataAsset |