SetSmoothEditable() static private method

static private SetSmoothEditable ( Keyframe &keys ) : void
keys UnityEngine.Keyframe
return void
Ejemplo n.º 1
0
 internal static Keyframe[] GetConstantKeys(float value)
 {
     Keyframe[] result = new Keyframe[]
     {
         new Keyframe(0f, value, 0f, 0f),
         new Keyframe(1f, value, 0f, 0f)
     };
     CurveEditorWindow.SetSmoothEditable(ref result);
     return(result);
 }
Ejemplo n.º 2
0
 internal static Keyframe[] GetConstantKeys(float value)
 {
     Keyframe[] keys = new Keyframe[2]
     {
         new Keyframe(0.0f, value, 0.0f, 0.0f),
         new Keyframe(1f, value, 0.0f, 0.0f)
     };
     CurveEditorWindow.SetSmoothEditable(ref keys);
     return(keys);
 }
Ejemplo n.º 3
0
 internal static Keyframe[] GetEaseInOutMirrorKeys()
 {
     Keyframe[] result = new Keyframe[]
     {
         new Keyframe(0f, 1f, 0f, 0f),
         new Keyframe(1f, 0f, 0f, 0f)
     };
     CurveEditorWindow.SetSmoothEditable(ref result);
     return(result);
 }
Ejemplo n.º 4
0
 internal static Keyframe[] GetEaseInOutMirrorKeys()
 {
     Keyframe[] keys = new Keyframe[2]
     {
         new Keyframe(0.0f, 1f, 0.0f, 0.0f),
         new Keyframe(1f, 0.0f, 0.0f, 0.0f)
     };
     CurveEditorWindow.SetSmoothEditable(ref keys);
     return(keys);
 }