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

The blueprint to instantiate.

Returns

Return type

str

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

DatasmithKeyValueProperty

get_property_by_name(name)DatasmithKeyValueProperty

Get a property by its name if it exists

Parameters

name (str) –

Returns

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) –