@pixi/3d
    Preparing search index...

    Interface SphereShapeOptions

    Options for SphereShape

    const options: SphereShapeOptions = { radius: 0.5, shell: true };
    const blast = new SphereShape(options);
    interface SphereShapeOptions {
        radius?: number;
        shell?: boolean;
    }
    Index
    radius?: number

    Sphere radius. 0 gives a point source firing in every direction

    1
    
    const pop = new SphereShape({ radius: 0 });
    
    shell?: boolean

    Spawn only on the surface instead of throughout the volume

    false
    
    const bubble = new SphereShape({ radius: 2, shell: true });