ControllerState.

ControllerState.ParameterBinding<T> Class

Summary

An System.IDisposable binding to Animancer.Parameter`1.OnValueChanged.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
  • IDisposable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IDisposable"] Type["ControllerState.ParameterBinding<T>"] class Type type-node

Syntax

public class ControllerState.ParameterBinding<T> : IDisposable

Type Parameters

Name Description
T

Constructors

Name Summary
ParameterBinding(Parameter<T>, Action<T>) Invokes `onParameterChanged` and adds it to the Animancer.Parameter`1.OnValueChanged to be removed by Animancer.ControllerState.ParameterBinding`1.Dispose.

Fields

Name Constant Value Summary
OnParameterChanged
The callback to invoke when the parameter changes.
Parameter
The parameter being watched.

Methods

Name Value Summary
Dispose() void
Removes Animancer.ControllerState.ParameterBinding`1.OnParameterChanged from the Animancer.Parameter`1.OnValueChanged.