Interface IRafMutableProps

Mutable properties for the Raf module

interface IRafMutableProps {
    __mutableProp?: null;
    enabled?: boolean;
    fps?: number | "auto";
    fpsRecalcFrames?: number;
}

Hierarchy (View Summary)

Properties

__mutableProp?: null
enabled?: boolean

Enables or disables the Raf animation loop.

false
fps?: number | "auto"

Frames per second (FPS) for the animation. Set to 'auto' for dynamic adjustment.

'auto'
fpsRecalcFrames?: number

The number of frames after which the FPS is recalculated. This value determines how often the FPS calculation is updated based on frame counts.

10