babylon.quarks - v1.0.0
    Preparing search index...

    Interface ConeEmitterParameters

    Interface representing the parameters for a cone emitter.

    interface ConeEmitterParameters {
        angle?: number;
        arc?: number;
        emitFrom?: ConeEmitFrom;
        length?: number;
        mode?: EmitterMode;
        radius?: number;
        speed?: ValueGenerator | FunctionValueGenerator;
        spread?: number;
        thickness?: number;
        transform?: ShapeTransform;
    }
    Index
    angle?: number

    Opening angle of the cone in radians, clamped to [0, π/2] (Unity's Angle, 0 to 90 degrees). Defaults to π/6.

    arc?: number

    Arc of the cone that particles start in, in radians around +z from +x (Unity's Arc, which its inspector shows in degrees); 2π, the default, for the whole cone.

    emitFrom?: ConeEmitFrom

    Which part of the cone particles start from; ConeEmitFrom.Base, the default, for the base disc only.

    length?: number

    Height of the cone along +z that ConeEmitFrom.Volume fills (Unity's Length); a negative or non-finite value is read as 0. Defaults to 5, as in Unity. The base ignores it.

    The mode of the emitter. EmitterMode

    radius?: number

    Radius of the cone's base disc, in the xy plane; a negative value is read as 0. Defaults to 10.

    The speed of the emitter start point when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

    spread?: number

    The length of the segment at which the emitter point converges at the start and end, when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

    thickness?: number

    Radius Thickness, as in Unity: how far in from the base's rim particles may start, as a fraction of the radius, clamped to [0, 1]. 0 is the base's rim only; 1, the default, fills the whole base, evenly over its area.

    transform?: ShapeTransform

    Offset, rotation and scale of the shape within the particle system. ShapeTransform