unreal.DatasmithCustomActorElement¶
- class unreal.DatasmithCustomActorElement(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DatasmithActorElementUDatasmithCustomActorElement
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
- Return type:
int32
- get_property(i) DatasmithKeyValueProperty¶
Get the property i-th of this blueprint actor
- Parameters:
i (int32) –
- Return type:
- get_property_by_name(name) DatasmithKeyValueProperty¶
Get a property by its name if it exists
- Parameters:
name (str) –
- Return type:
- remove_property(property_) None¶
Removes a property from this blueprint actor, doesn’t preserve ordering
- Parameters:
property (DatasmithKeyValueProperty) –