Strata - v1.4.10
    Preparing search index...

    Variable ForcefieldConst

    Forcefield: ForwardRefExoticComponent<
        ForcefieldProps & RefAttributes<ForcefieldRef>,
    > = ...

    Animated Shield Forcefield.

    Provides a glowing spherical forcefield with a procedural hexagonal pattern. Features an interactive hit response system that creates ripples at impact points.

    const fieldRef = useRef<ForcefieldRef>(null);

    <Forcefield
    ref={fieldRef}
    radius={2}
    color="blue"
    hexagonScale={15}
    />

    // On impact
    fieldRef.current?.triggerHit(hitPoint, 1.0);