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

    Interface PointerContextValueExperimental

    interface PointerContextValue {
        getDropPoint: () => PointerWorldPos;
        pointerRef: MutableRefObject<PointerWorldPos>;
    }
    Index

    Properties

    getDropPoint: () => PointerWorldPos

    Convenience thunk equivalent to () => pointerRef.current. Stable identity for the lifetime of the provider; safe to pass to hooks.

    pointerRef: MutableRefObject<PointerWorldPos>

    Live ref — mutate to publish, read for the latest snapshot. The identity is stable for the lifetime of the provider.