ControllerState.

ControllerState.SerializableParameterBindings Class

Summary

A serializable array of data which can create Animancer.ControllerState.ParameterBinding`1s at runtime.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ICloneable<ControllerState.SerializableParameterBindings>"] Type["ControllerState.SerializableParameterBindings"] class Type type-node

Syntax

[Serializable]
public class ControllerState.SerializableParameterBindings : 
    ICloneable<ControllerState.SerializableParameterBindings>

Remarks

This data contains a Animancer.ControllerState.SerializableParameterBindings.Bindings array and Animancer.ControllerState.SerializableParameterBindings.Mode flag:
  • If the array is empty, true will bind all parameters by name and false will bind nothing.
  • Otherwise, true will bind [i * 2] in the to [i * 2 + 1] in the .
  • And false will bind each of its parameters to the same name in both systems.

Attributes

Type Description
SerializableAttribute

Fields

Name Constant Value Summary
BindingsFieldName _Bindings
[Editor-Only] The name of the serialized backing field of Animancer.ControllerState.SerializableParameterBindings.Bindings.
static
ModeFieldName _Mode
[Editor-Only] The name of the serialized backing field of Animancer.ControllerState.SerializableParameterBindings.Mode.
static

Properties

Name Value Summary
BindAllParameters bool
[UnityEngine.SerializeField] Should all parameters in the UnityEngine.RuntimeAnimatorController be bound by name?
Bindings StringAsset[]
[UnityEngine.SerializeField] Parameter names used to have parameters in the UnityEngine.RuntimeAnimatorController follow the value of parameters in the Animancer.AnimancerGraph.Parameters.
Mode bool
[UnityEngine.SerializeField] Modifies the way the Animancer.ControllerState.SerializableParameterBindings.Bindings array is interpreted.
RebindNames bool
[UnityEngine.SerializeField] Should the Animancer.ControllerState.SerializableParameterBindings.Bindings be grouped into pairs to bind each UnityEngine.RuntimeAnimatorController parameter to the subsequent parameter in Animancer.AnimancerGraph.Parameters?

Methods

Name Value Summary
Clone(CloneContext) ControllerState.SerializableParameterBindings
Creates a new object with the same type and values this.
Deserialize(ControllerState) void
Creates runtime bindings for the `state`.