AnimancerGraphSpeedSlider Class

Summary

[Editor-Only] Animancer.Editor.ToggledSpeedSlider for Animancer.AnimancerGraph.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
graph BT Type-->Base0["ToggledSpeedSlider"] click Base0 "/animancer/api/Animancer.Editor/ToggledSpeedSlider" Base0-->Base1["Object"] Type["AnimancerGraphSpeedSlider"] class Type type-node

Syntax

public class AnimancerGraphSpeedSlider : ToggledSpeedSlider

Constructors

Name Summary
AnimancerGraphSpeedSlider() Creates a new Animancer.Editor.AnimancerGraphSpeedSlider.

Fields

Name Constant Value Summary
GUIContent
The content displayed on the toggle.
Inherited from ToggledSpeedSlider
Instance
Singleton.
static
IsOn
Is the toggle currently on?
Inherited from ToggledSpeedSlider

Properties

Name Value Summary
Graph AnimancerGraph
The target graph.
Speed float
The current speed value.
Inherited from ToggledSpeedSlider

Methods

Name Value Summary
DoSpeedSlider(Rect, GUIStyle) float
Draws a slider to control the Animancer.Editor.ToggledSpeedSlider.Speed.
Inherited from ToggledSpeedSlider
DoToggleGUI(Rect, GUIStyle) bool
Draws a toggle to show or hide the speed slider.
HandleResetClick(Rect) void
Handles Right or Middle Clicking in the `area` to reset the Animancer.Editor.ToggledSpeedSlider.Speed.
Inherited from ToggledSpeedSlider
OnSetSpeed(float) void
Called when the Animancer.Editor.ToggledSpeedSlider.Speed is changed.