unreal.DatasmithActorBindingElement

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

Bases: DatasmithObjectElement

  • UDatasmithActorBindingElement

C++ Source:

  • Plugin: DatasmithImporter

  • Module: DatasmithImporter

  • File: DatasmithUObjectElements.h

add_property_capture(prop) None

Adds an existing property capture to this binding

Parameters:

prop (DatasmithBasePropertyCaptureElement) –

create_object_property_capture() DatasmithObjectPropertyCaptureElement

Create a new object property capture and add it to this binding

Return type:

DatasmithObjectPropertyCaptureElement

create_property_capture() DatasmithPropertyCaptureElement

Create a new property capture and add it to this binding

Return type:

DatasmithPropertyCaptureElement

get_actor() DatasmithActorElement

Gets the actor that this binding will try capturing

Return type:

DatasmithActorElement

get_property_capture(index) DatasmithBasePropertyCaptureElement

Gets property that will be captured from the bound actor

Parameters:

index (int32) –

Return type:

DatasmithBasePropertyCaptureElement

get_property_captures_count() int32

Gets how many properties will be captured from the bound actor

Return type:

int32

remove_property_capture(prop) None

Removes one of the properties that will be captured from the bound actor

Parameters:

prop (DatasmithBasePropertyCaptureElement) –

set_actor(actor) None

Sets the actor that this binding will try capturing

Parameters:

actor (DatasmithActorElement) –