Method | Description | |
---|---|---|
ChangeTangentCommand ( CurveEditorControl2 control, long keyId, TangentSelectionMode selectedTangent ) : System |
Creates a new command to select the given keys. You can pass null to deselect all.
|
|
Do ( ) : void | ||
Undo ( ) : void | ||
UpdateOffset ( float tangent ) : void |
This method will update the offset and update the key tangent accordingly. This is to be used while dragging, before the mouse is released and the command added (without calling Do()) to the history.
|
Method | Description | |
---|---|---|
ChangeTangent ( float tangent ) : void |
Performs the actual movement of the keys.
|
public ChangeTangentCommand ( CurveEditorControl2 control, long keyId, TangentSelectionMode selectedTangent ) : System | ||
control | CurveEditorControl2 | |
keyId | long | |
selectedTangent | TangentSelectionMode | |
return | System |