Class AnimationClipBindingLabels
Maps a curve binding's raw propertyName (as Unity persists it, e.g. "m_LocalPosition.x" or
"blendShape.Smile") to a human-readable group and axis for display. Pure string mapping, no Unity
dependency beyond the plain string in, AnimationClipBindingLabels.Label out contract — every input is a
value already read off a real binding elsewhere, so this type never needs to touch an asset itself.
The curve-name normalization lesson from ModelClipCreatorTests is the source of the exact strings
this maps from: Unity persists localScale.x as m_LocalScale.x, and a rotation curve as
localEulerAnglesRaw.*.
Inheritance
AnimationClipBindingLabels
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public static class AnimationClipBindingLabels
Fields
ActiveGroup
Declaration
public const string ActiveGroup = "Active"
Field Value
BlendShapesGroup
Declaration
public const string BlendShapesGroup = "Blend Shapes"
Field Value
PositionGroup
Declaration
public const string PositionGroup = "Position"
Field Value
RotationGroup
Declaration
public const string RotationGroup = "Rotation"
Field Value
ScaleGroup
Declaration
public const string ScaleGroup = "Scale"
Field Value
Methods
Describe(string)
Maps a raw curve-binding property name to its display label. Never throws — an unrecognized
name falls back to itself as the group, with no axis.
Declaration
public static AnimationClipBindingLabels.Label Describe(string propertyName)
Parameters
| Type |
Name |
Description |
| string |
propertyName |
|
Returns
GroupSortKey(string)
Declaration
public static string GroupSortKey(string group)
Parameters
| Type |
Name |
Description |
| string |
group |
|
Returns