Class ProceduralAnimatorSimulatorGui
Rendered preview for the in-hub Procedural Animator simulator: a "Preview" foldout (collapsed by default, zero cost while collapsed — Bind(GameObject) is only ever called while expanded, drawn via PreviewSectionGui) that draws transport controls, the rendered viewport through the same shared helper, and one slider per state key the profile reads. Pure drawing — every stateful decision lives on ProceduralAnimatorSimulator.
Inherited Members
Namespace: Serenity.Editor.AnimationHub.Gui
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public static class ProceduralAnimatorSimulatorGui
Methods
Draw(ProceduralAnimatorSimulator, GameObject, float)
Declaration
public static void Draw(ProceduralAnimatorSimulator simulator, GameObject modelPrefabAsset, float viewportHeight = 240)
Parameters
| Type | Name | Description |
|---|---|---|
| ProceduralAnimatorSimulator | simulator | |
| GameObject | modelPrefabAsset | |
| float | viewportHeight |