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

    Type Alias RotationAxis

    RotationAxis: "z" | "emission"

    The axis a number rotation turns a mesh particle about: its start rotation and RotationOverLife's turn. Billboards turn in their own plane whatever it says.

    • 'z' (the default): the mesh's own Z.
    • 'emission': an axis picked per particle at birth, as Unity picks a mesh particle's axisOfRotation when its Shape module is on: square to the Z axis and to the direction the shape sends the particle; for a particle sent along Z (a box, a cone with no angle), square to Z and to where it starts; for one that starts near the Z axis too, Y. A mesh laid in the XZ plane, such as a ring on a box or a narrow cone, then spins about its own normal and stays level. Taken in the emitter's axes, from the particle's start velocity, or where it starts when it has none.