Bitbybit Docs
    Preparing search index...

    Class SetMeshVisibilityDto (Inputs.BabylonMesh)

    Feeds babylon.mesh.setVisibility with a mesh, how visible it is from 0 to 1 and whether its children follow.

    Index

    Constructors

    • Parameters

      • OptionalbabylonMesh: Mesh
      • Optionalvisibility: number
      • OptionalincludeChildren: boolean

      Returns SetMeshVisibilityDto

    Properties

    babylonMesh: Mesh

    The mesh to change

    undefined
    
    visibility: number

    From 0 for fully transparent to 1 for fully shown; values between fade the mesh

    0
    

    0

    1

    0.1

    includeChildren: boolean

    When true, the child meshes get the same visibility

    false