Constructor Selection
Selection(SerializedProperty, int, Keyframe?)
Creates a new selection state.
Declaration
public Selection(SerializedProperty curve, int keyframeIndex, Keyframe? keyframe)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | curve | A reference to the serialized curve. |
int | keyframeIndex | The currently selected key index, or -1 if none is selected. |
Keyframe? | keyframe | The key itself, or |