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

    Type Alias RenderFace

    RenderFace: "both" | "front" | "back"

    Which faces of a mesh particle are drawn (Unity's Render Face, Unreal's Two Sided): 'both' (the default), 'front' (back faces culled, the usual choice for a closed mesh) or 'back' (front faces culled, to see the inside of a dome or a shell). Front faces are the ones a Babylon mesh shows with back-face culling on, the outside of a box or sphere. It applies to the Mesh render mode only: billboards, stretched billboards, beams and trails are flat sheets whose winding follows the camera or the particle's path, so they always draw both faces.

    The culling is set once for the whole batch. A mesh particle mirrored by a negative size on an odd number of axes turns its winding inside out, so 'front' then shows its inside and 'back' its outside.