unreal.DatasmithVariantElement
¶
- class unreal.DatasmithVariantElement(outer=None, name='None')¶
Bases:
unreal.DatasmithObjectElement
UDatasmithVariantElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
- add_actor_binding(binding) → None¶
Adds an existing actor binding to this variant
- Parameters
binding (DatasmithActorBindingElement) –
- create_actor_binding() → DatasmithActorBindingElement¶
Create a new actor binding and add it to this variant
- Returns
- Return type
- get_actor_binding(index) → DatasmithActorBindingElement¶
Gets an actor binding from this variant
- Parameters
index (int32) –
- Returns
- Return type
- get_actor_bindings_count() → int32¶
Gets how many actor bindings are in this variant
- Returns
- Return type
int32
- remove_actor_binding(binding) → None¶
Removes an actor binding from this variant
- Parameters
binding (DatasmithActorBindingElement) –