unreal.DatasmithCustomActorElement

class unreal.DatasmithCustomActorElement(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: 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_class_or_path_name() str

The blueprint to instantiate.

Return type:

str

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:

DatasmithKeyValueProperty

get_property_by_name(name) DatasmithKeyValueProperty

Get a property by its name if it exists

Parameters:

name (str) –

Return type:

DatasmithKeyValueProperty

remove_property(property_) None

Removes a property from this blueprint actor, doesn’t preserve ordering

Parameters:

property (DatasmithKeyValueProperty) –

set_class_or_path_name(path_name) None

Set Class or Path Name

Parameters:

path_name (str) –