unreal.DetailPoseTrainingModel¶
- class unreal.DetailPoseTrainingModel(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
NeuralMorphTrainingModelThe Training Model for the Detail Pose Model. Even though this is an empty class we still need it, as we inherit from it inside the Python code. This allows us to separate it from the Neural Morph Model that we inherited from. We basically find an object of this class type and call the Train method on that in Python.
C++ Source:
Plugin: DetailPoseModel
Module: DetailPoseModelEditor
File: DetailPoseTrainingModel.h
Editor Properties: (see get_editor_property/set_editor_property)
mask_index_per_sample(Array[int32]): [Read-Write] The mask index for each sample. See GetTrainingInputAnimMasks() and GetTrainingInputAnimMaskData().sample_bone_rotations(Array[float]): [Read-Write] The bone rotations in bone (local) space for this sample. This is updated after NextSample is called and is 6 floats per bone (2 columns of 3x3 rotation matrix).sample_curve_values(Array[float]): [Read-Write] The curve weights. This is updated after NextSample is called.sample_deltas(Array[float]): [Read-Write] The delta values per vertex for this sample. This is updated after NextSample is called. Contains an xyz (3 floats) for each vertex.