Hiyve Components - v1.0.0
    Preparing search index...

    Interface SnowballEffectProps

    Props for the SnowballEffect renderer.

    interface SnowballEffectProps {
        fadeDuration?: number;
        growDuration?: number;
        maxSize?: number;
        onComplete: () => void;
        projectileUrl: string;
        splatScale?: number;
        splatUrl: string;
    }
    Index

    Properties

    fadeDuration?: number

    Duration of the fade-out phase in ms (default: 3000)

    growDuration?: number

    Duration of the grow phase in ms (default: 3000)

    maxSize?: number

    Maximum size of the projectile in px (default: 600)

    onComplete: () => void

    Called when the full animation completes

    projectileUrl: string

    URL of the projectile image (e.g., snowball)

    splatScale?: number

    Scale multiplier for the splat image relative to maxSize (default: 1.2)

    splatUrl: string

    URL of the splat/impact image shown after the projectile hits