Class Variant
Variant
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.VariantManagerContent
Assembly: UE4DotNet.dll
Syntax
public class Variant : UObject
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static Variant DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| Variant |
ObjectBindings
Object Bindings
Declaration
public ObjectArrayField<VariantObjectBinding> ObjectBindings { get; }
Property Value
| Type | Description |
|---|---|
| ObjectArrayField<VariantObjectBinding> |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
Methods
| Improve this Doc View SourceGetActor(Int32)
Get Actor
Declaration
public Actor GetActor(int ActorIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | ActorIndex |
Returns
| Type | Description |
|---|---|
| Actor |
GetDisplayText()
Get Display Text
Declaration
public byte GetDisplayText()
Returns
| Type | Description |
|---|---|
| System.Byte |
GetNumActors()
Get Num Actors
Declaration
public int GetNumActors()
Returns
| Type | Description |
|---|---|
| System.Int32 |
New(UObject, Name)
Spawn an object of this class
Declaration
public static Variant New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| Variant |
SetDisplayText(Byte)
Set Display Text
Declaration
public void SetDisplayText(byte NewDisplayText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte | NewDisplayText |
SwitchOn()
Switch On
Declaration
public void SwitchOn()
Operators
| Improve this Doc View SourceImplicit(IntPtr to Variant)
Convert from IntPtr to UObject
Declaration
public static implicit operator Variant(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| Variant |