Class BindingView
One curve binding's read-only display facts, built once per ReadBindings(AnimationClip)
call — the same constructor-built, get-only DTO idiom Verdict and ClipSettingsView already use.
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public sealed class BindingView
Constructors
BindingView(EditorCurveBinding, string, string, string, string, int, bool, bool)
Declaration
public BindingView(EditorCurveBinding binding, string groupPath, string groupDisplayName, string propertyGroup, string propertyLabel, int keyCount, bool isObjectReference, bool isDiscrete)
Parameters
| Type |
Name |
Description |
| EditorCurveBinding |
binding |
|
| string |
groupPath |
|
| string |
groupDisplayName |
|
| string |
propertyGroup |
|
| string |
propertyLabel |
|
| int |
keyCount |
|
| bool |
isObjectReference |
|
| bool |
isDiscrete |
|
Properties
Binding
Declaration
public EditorCurveBinding Binding { get; }
Property Value
| Type |
Description |
| EditorCurveBinding |
|
GroupDisplayName
Declaration
public string GroupDisplayName { get; }
Property Value
| Type |
Description |
| string |
Human-facing copy of GroupPath, kept as its own field so a future UI can diverge
it (for example showing only the leaf segment of a deep hierarchy path) without touching the grouping
key other bindings compare against.
|
GroupPath
Declaration
public string GroupPath { get; }
Property Value
| Type |
Description |
| string |
Hierarchy grouping key — UnityEditor.EditorCurveBinding.path verbatim, with
RootGroupPath substituted for the empty root path so a
caller grouping bindings by GroupPath never has to special-case an empty string.
|
IsDiscrete
Declaration
public bool IsDiscrete { get; }
Property Value
IsObjectReference
Declaration
public bool IsObjectReference { get; }
Property Value
KeyCount
Declaration
public int KeyCount { get; }
Property Value
PropertyGroup
Declaration
public string PropertyGroup { get; }
Property Value
PropertyLabel
Declaration
public string PropertyLabel { get; }
Property Value