unreal.AnimGenAutoEncoderDebugDraw¶
- class unreal.AnimGenAutoEncoderDebugDraw(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectDebug draw class used by the auto-encoder. Allows for custom debug-draw logic in the viewport
C++ Source:
Plugin: AnimGen
Module: AnimGen
File: AnimGenAutoEncoder.h
- draw_debug(drawer, canvas_drawer, original_pose_state, reconstructed_pose_state, database, frame_ranges, range_viewport_transform, auto_encoder, character_idx, sequence_idx, sequence_time, range_start, range_length, identifier_color, original_color, reconstructed_color) None¶
Draw Debug function which is called each frame with the current pose state information
- Parameters:
drawer (DebugDrawer)
canvas_drawer (DebugDrawer)
original_pose_state (AnimDatabasePoseState)
reconstructed_pose_state (AnimDatabasePoseState)
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
range_viewport_transform (Transform)
auto_encoder (AnimGenAutoEncoder)
character_idx (int32)
sequence_idx (int32)
sequence_time (float)
range_start (int32)
range_length (int32)
identifier_color (LinearColor)
original_color (LinearColor)
reconstructed_color (LinearColor)
- initialize_draw_debug(database, frame_ranges, auto_encoder) None¶
Make any required frame attributes or other data. This function is called once when the class is initialized
- Parameters:
database (AnimDatabase)
frame_ranges (AnimDatabaseFrameRanges)
auto_encoder (AnimGenAutoEncoder)