Class CurveEditor
Inheritance
System.Object
CurveEditor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Syntax
public sealed class CurveEditor
Constructors
CurveEditor()
Declaration
CurveEditor(CurveEditor.Settings)
Declaration
public CurveEditor(CurveEditor.Settings settings)
Parameters
Properties
settings
Declaration
public CurveEditor.Settings settings { get; }
Property Value
Methods
Add(SerializedProperty)
Declaration
public void Add(SerializedProperty curve)
Parameters
Type |
Name |
Description |
SerializedProperty |
curve |
|
Add(SerializedProperty, CurveEditor.CurveState)
Declaration
public void Add(SerializedProperty curve, CurveEditor.CurveState state)
Parameters
Add(SerializedProperty[])
Declaration
public void Add(params SerializedProperty[] curves)
Parameters
Type |
Name |
Description |
SerializedProperty[] |
curves |
|
GetCurveState(SerializedProperty)
Declaration
public CurveEditor.CurveState GetCurveState(SerializedProperty curve)
Parameters
Type |
Name |
Description |
SerializedProperty |
curve |
|
Returns
GetSelection()
Declaration
public CurveEditor.Selection GetSelection()
Returns
OnGUI(Rect)
Declaration
public bool OnGUI(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(SerializedProperty)
Declaration
public void Remove(SerializedProperty curve)
Parameters
Type |
Name |
Description |
SerializedProperty |
curve |
|
RemoveAll()
Declaration
SetCurveState(SerializedProperty, CurveEditor.CurveState)
Declaration
public void SetCurveState(SerializedProperty curve, CurveEditor.CurveState state)
Parameters
SetKeyframe(SerializedProperty, Int32, Keyframe)
Declaration
public void SetKeyframe(SerializedProperty curve, int keyframeIndex, Keyframe keyframe)
Parameters
Type |
Name |
Description |
SerializedProperty |
curve |
|
System.Int32 |
keyframeIndex |
|
Keyframe |
keyframe |
|