unreal.DatasmithActorBindingElement

class unreal.DatasmithActorBindingElement(outer=None, name='None')

Bases: unreal.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

Returns

Return type

DatasmithObjectPropertyCaptureElement

create_property_capture() → DatasmithPropertyCaptureElement

Create a new property capture and add it to this binding

Returns

Return type

DatasmithPropertyCaptureElement

get_actor() → DatasmithActorElement

Gets the actor that this binding will try capturing

Returns

Return type

DatasmithActorElement

get_property_capture(index) → DatasmithBasePropertyCaptureElement

Gets property that will be captured from the bound actor

Parameters

index (int32) –

Returns

Return type

DatasmithBasePropertyCaptureElement

get_property_captures_count() → int32

Gets how many properties will be captured from the bound actor

Returns

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