unreal.MetaHumanCharacterActorInterface¶
- class unreal.MetaHumanCharacterActorInterface(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterfaceMetaHuman Character Actor Interface
C++ Source:
Plugin: MetaHumanCharacter
Module: MetaHumanCharacterPalette
File: MetaHumanCharacterActorInterface.h
- get_meta_human_instance() MetaHumanInstance¶
Returns the MetaHuman Instance that this actor is currently using, even if it wasn’t set by SetMetaHumanInstance
- Return type:
- set_character_instance(character_instance) None¶
Set Character Instance deprecated: Use SetMetaHumanInstance instead
- Parameters:
character_instance (MetaHumanInstance)
- set_meta_human_instance(meta_human_instance) None¶
Initializes the actor from the given MetaHuman Instance.
This function is called when the Instance has changed, so implementers must re-assemble from the given Instance when this is called, even if this Instance was already set on the actor.
The easiest way to do this is to call GetAssemblyOutput, which will trigger re-assembly only if needed.
- Parameters:
meta_human_instance (MetaHumanInstance)