unreal.DatasmithActorElement
¶
-
class
unreal.
DatasmithActorElement
(outer=None, name='None')¶ Bases:
unreal.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
()¶ Get the children of the mesh actor. Use AddChild -or- RemoveChild to modify the actor’s children
- Returns
- Return type
-
get_children_count
() → int32¶ Get the number of children on this actor
- Returns
- 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) –