unreal.EvaluateRig

class unreal.EvaluateRig(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Blueprint class to allow a DNA rig to be evaluated for raw control values and the mesh vertices returned

C++ Source:

  • Plugin: MetaHumanCoreTech

  • Module: MetaHumanCoreTechLib

  • File: EvaluateRig.h

evaluate_raw_controls(controls, mesh_indices, lod) -> (out_mesh_vertices=Array[ArrayOfVertices], out_success=bool)

evaluate the passed in raw controls for the specified mesh indices and lod, returning the evaluated vertices for each mesh in OutMeshVertices. Note that only valid raw control names will be set in the rig

Parameters:
Returns:

out_mesh_vertices (Array[ArrayOfVertices]):

out_success (bool):

Return type:

tuple

set_rig_dna(dna_asset) bool

Set Rig DNA deprecated: Use SetRigDNAFromAsset with UDNA asset instead

Parameters:

dna_asset (DNAAsset)

Return type:

bool

set_rig_dna_from_asset(dna) bool

Set the rig DNA from UDNA asset

Parameters:

dna (DNA)

Return type:

bool