Class ChildActorComponent
A component that spawns an Actor when registered, and destroys it when unregistered.
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 ChildActorComponent : SceneComponent
Properties
| Improve this Doc View SourceChildActor
The actor that we spawned and own
Declaration
public Actor ChildActor { get; }
Property Value
Type | Description |
---|---|
Actor |
ChildActorClass
The class of Actor to spawn
Declaration
public SubclassOf<Actor> ChildActorClass { get; }
Property Value
Type | Description |
---|---|
SubclassOf<Actor> |
ChildActorTemplate
Property to point to the template child actor for details panel purposes
Declaration
public Actor ChildActorTemplate { get; set; }
Property Value
Type | Description |
---|---|
Actor |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static ChildActorComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
ChildActorComponent |
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 ChildActorComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
ChildActorComponent |
SetChildActorClass(SubclassOf<Actor>)
Set Child Actor Class
Declaration
public void SetChildActorClass(SubclassOf<Actor> InClass)
Parameters
Type | Name | Description |
---|---|---|
SubclassOf<Actor> | InClass |
Operators
| Improve this Doc View SourceImplicit(IntPtr to ChildActorComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator ChildActorComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
ChildActorComponent |