molstar
Version:
A comprehensive macromolecular library.
26 lines (25 loc) • 706 B
TypeScript
/**
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { PluginContext } from './context';
export declare class PluginAnimationLoop {
private plugin;
private currentFrame;
private _isAnimating;
get isAnimating(): boolean;
tick(t: number, options?: {
isSynchronous?: boolean;
manualDraw?: boolean;
}): Promise<void>;
private frame;
resetTime(t?: number): void;
start(options?: {
immediate?: boolean;
}): void;
stop(options?: {
noDraw?: boolean;
}): void;
constructor(plugin: PluginContext);
}