Bitbybit Docs
    Preparing search index...

    Class CreateCubeDto (Inputs.BabylonMeshBuilder)

    Feeds babylon.meshBuilder.createCube with the edge length of a cube centered on the origin.

    Index

    Constructors

    Properties

    size: number

    Length of every edge, in scene units

    1
    
    sideOrientation: sideOrientationEnum

    Which side of each face is drawn: the front, the back or both; single-sided meshes are invisible from behind

    frontside
    
    enableShadows: boolean

    When true, the mesh casts and receives shadows from the lights that have them enabled

    true