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

    Interface StretchedBillBoardSettings

    Settings of a stretched billboard system, Unity's Stretched Billboard. The quad runs from the particle back along its velocity, size × lengthFactor + speed × speedFactor long, and is as wide as the size; a negative total stretches it ahead of the particle. A particle that does not move has no direction and draws nothing, as in Unity.

    interface StretchedBillBoardSettings {
        lengthFactor: number;
        speedFactor: number;
    }
    Index
    lengthFactor: number

    Length per unit of size, Unity's Length Scale. Default 2: a particle of size 0.1 is 0.2 long before its speed adds length. 0 draws no length from the size, so a particle that also has no speed draws nothing.

    speedFactor: number

    Length per unit of speed, Unity's Speed Scale: a particle moving at 5 with a factor of 0.2 is stretched 1 unit, whatever its size. 0 adds no length but keeps the quad along the velocity.