Bitbybit Docs
    Preparing search index...

    Class MaterialBabylonMeshDto (Inputs.BabylonMesh)

    Feeds babylon.mesh.setMaterial with a mesh, the material to give it and whether its children get it too.

    Index

    Constructors

    • Parameters

      • OptionalbabylonMesh: Mesh
      • Optionalmaterial: Material
      • OptionalincludeChildren: boolean

      Returns MaterialBabylonMeshDto

    Properties

    babylonMesh: Mesh

    The mesh whose material is set

    undefined
    
    material: Material

    The material the faces are drawn with from then on

    undefined
    
    includeChildren: boolean

    When true, the child meshes get the same material

    false