@pixi/3d
    Preparing search index...

    Type Alias BillboardMode

    BillboardMode: "none" | "spherical" | "cylindrical"

    How a mesh turns to face the camera; see Mesh3D#billboardMode

    • 'none': no turning; the mesh draws as authored.
    • 'spherical': lies square to the screen however the camera turns. Suits glows, impact flashes, icons and distance markers.
    • 'cylindrical': turns around its own up axis toward the camera but never tips, so it stays planted. Suits trees, grass, crowd cutouts and flat stand-ins for distant models.
    const mode: BillboardMode = upright ? 'cylindrical' : 'spherical';
    const marker = new Sprite3D({ texture, billboardMode: mode });