unreal.AnimGenController

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

Bases: DataAsset

The Controller class represents a trained character controller that uses flow-matching and a neural-network to auto-regressively produce the character’s pose frame by frame.

A controller is always implicitly linked to a behavior which it was trained on - and input to the controller will be provided via the behavior.

C++ Source:

  • Plugin: AnimGen

  • Module: AnimGen

  • File: AnimGenController.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_encoder (AnimGenAutoEncoder): [Read-Only] Auto-Encoder which this controller uses

  • control_encoder_size (int32): [Read-Only] Current size of the trained control encoder in kilobytes

  • denoiser_size (int32): [Read-Only] Current size of all the trained denoiser networks in kilobytes

  • frame_rate (FrameRate): [Read-Only] The Frame Rate this controller was trained to run at

invalidate() None

Reset the controller back to an untrained state

is_valid() bool

Check if the controller is valid and trained

Return type:

bool