unreal.DatasmithCustomActorElement
¶
-
class
unreal.
DatasmithCustomActorElement
(outer=None, name='None')¶ Bases:
unreal.DatasmithActorElement
UDatasmithCustomActorElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
-
add_property
(property_) → None¶ Add a property to this blueprint actor
- Parameters
property (DatasmithKeyValueProperty) –
-
get_properties_count
() → int32¶ Get the total amount of properties in this blueprint actor
- Returns
- Return type
int32
-
get_property
(i) → DatasmithKeyValueProperty¶ Get the property i-th of this blueprint actor
- Parameters
i (int32) –
- Returns
- Return type
-
get_property_by_name
(name) → DatasmithKeyValueProperty¶ Get a property by its name if it exists
- Parameters
name (str) –
- Returns
- Return type
-
remove_property
(property_) → None¶ Removes a property from this blueprint actor, doesn’t preserve ordering
- Parameters
property (DatasmithKeyValueProperty) –