Class UObject
A UObject is a holder for a UE4 UObject* to manage its
lifetime in the CLR.
Inheritance
System.Object
UObject
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
Fields
|
Improve this Doc
View Source
_None
Declaration
protected static readonly Name _None
Field Value
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static UObject DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public virtual string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
None
Declaration
public static Name None { get; }
Property Value
|
Improve this Doc
View Source
ObjPointer
Declaration
public IntPtr ObjPointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
TransientPackage
Declaration
public static Package TransientPackage { get; }
Property Value
Methods
|
Improve this Doc
View Source
CastTo(UObject, Type)
Declaration
protected static UObject CastTo(UObject o, Type type)
Parameters
Type |
Name |
Description |
UObject |
o |
|
System.Type |
type |
|
Returns
|
Improve this Doc
View Source
CastTo<T>(UObject)
Changes the C# type of a native object. The old object should not be used after this call
Declaration
public static T CastTo<T>(UObject o)
where T : UObject, new()
Parameters
Type |
Name |
Description |
UObject |
o |
object to change
|
Returns
Type Parameters
Name |
Description |
T |
New type of object
|
|
Improve this Doc
View Source
Construct()
Declaration
public virtual void Construct()
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetName()
Declaration
protected string GetName()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPropertyFor<T>(Name)
Declaration
public T GetPropertyFor<T>(Name name)
where T : Property, new()
Parameters
Type |
Name |
Description |
Name |
name |
|
Returns
Type Parameters
|
Improve this Doc
View Source
LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
Declaration
public static Class LoadClass(Class ofClass, UObject outer, string name, string fileName = null, LoadFlags flags = LoadFlags.LOAD_None, PackageMap sandbox = null)
Parameters
Returns
|
Improve this Doc
View Source
LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
Declaration
public static UObject LoadObjectFromClass(Class objectClass, UObject outer, string name, string fileName = null, LoadFlags flags = LoadFlags.LOAD_None, PackageMap sandbox = null, bool bAllowObjectReconciliation = true)
Parameters
Type |
Name |
Description |
Class |
objectClass |
|
UObject |
outer |
|
System.String |
name |
|
System.String |
fileName |
|
LoadFlags |
flags |
|
PackageMap |
sandbox |
|
System.Boolean |
bAllowObjectReconciliation |
|
Returns
|
Improve this Doc
View Source
MakeObjectArrayField<T>(NativeArray*)
Declaration
protected ObjectArrayField<T> MakeObjectArrayField<T>(NativeArray*array)
where T : UObject, new()
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static UObject New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
NotImplemented<T>()
Declaration
public static T NotImplemented<T>()
Returns
Type Parameters
|
Improve this Doc
View Source
RemoveObject(UObject)
Declaration
protected static void RemoveObject(UObject o)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Events
|
Improve this Doc
View Source
ExecuteUbergraph
Executes some portion of the ubergraph.
Declaration
public event UObject.ExecuteUbergraph_delegate ExecuteUbergraph
Event Type
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to UObject)
Convert from IntPtr to UObject
Declaration
public static implicit operator UObject(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns
|
Improve this Doc
View Source
Implicit(UObject to IntPtr)
Declaration
public static implicit operator IntPtr(UObject o)
Parameters
Returns
Type |
Description |
System.IntPtr |
|