unreal.DatasmithActorElement
¶
- class unreal.DatasmithActorElement(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DatasmithObjectElement
UDatasmithActorElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
- add_child(child) None ¶
Adds a child to the Actor Element
- Parameters:
child (DatasmithActorElement) –
- get_children() Array[DatasmithActorElement] ¶
Get the children of the mesh actor. Use AddChild -or- RemoveChild to modify the actor’s children
- Return type:
- get_children_count() int32 ¶
Get the number of children on this actor
- Return type:
int32
- remove_child(child) None ¶
Remove a new child from the Actor Element
- Parameters:
child (DatasmithActorElement) –
- set_layer(layer) None ¶
Set the the the layer that contains this entity, layer will be auto-created from its name
- Parameters:
layer (str) –