Edit

Share via


SKActionTimingFunction Delegate

Definition

Caution

Use 'SKActionTimingFunction2' instead.

A method that maps time, a value between 0 and 1, to a return value between 0 snd 1.

[System.Obsolete("Use 'SKActionTimingFunction2' instead.")]
public delegate void SKActionTimingFunction(float time);
type SKActionTimingFunction = delegate of single -> unit

Parameters

time
Single
Attributes

Remarks

Application developers should assign this delegate to a method that returns 0 for a time value of 0, and 1 for a time value of 1.

Applies to