weasel API - v0.8.0
    Preparing search index...

    Interface PhysicsHandle<T>

    interface PhysicsHandle<T = unknown> {
        id: number;
        cancel(): void;
        isPaused(): boolean;
        pause(): void;
        resume(): void;
        setTarget(to: T | null): void;
        setTimeScale(scale: number): void;
        setVelocity(v: T): void;
    }

    Type Parameters

    • T = unknown

    Hierarchy (View Summary)

    Index

    Properties

    id: number

    Monotonic id assigned by the animator.

    Methods