static private SetSmoothEditable ( |
||
keys | ||
return | void |
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); }
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); }
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); }
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); }