tick method
Advances the native engine by deltaSeconds.
Implementation
void tick(double deltaSeconds) {
_ensureNotDisposed();
if (!deltaSeconds.isFinite || deltaSeconds < 0) {
throw ArgumentError.value(
deltaSeconds,
'deltaSeconds',
'Must be finite and non-negative.',
);
}
if (!isInitialized) {
throw StateError('Initialize the native runtime before updating it.');
}
if (_tick(_handle, deltaSeconds) == 0) {
throw StateError('The native Flix3DEngine runtime rejected the update.');
}
}