Contents

getPeriodicDelay(_:interval:)

Returns the initial delay and repeat values for continuous sending of action messages to target objects.

Declaration

func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval: UnsafeMutablePointer<Float>)

Parameters

  • delay:

    On input, a pointer to a floating-point variable. On output, the variable contains the current delay (measured in seconds) before messages are sent. This parameter must not be NULL.

  • interval:

    On input, a pointer to a floating point variable. On output, the variable contains the interval (measured in seconds) at which messages are sent. This parameter must not be NULL.

Discussion

The default implementation returns a delay of 0.2 and an interval of 0.025 seconds. Subclasses can override this method to supply their own delay and interval values.

See Also

Related Documentation

Tracking the Mouse