Function createDecalMesh

  • Creates mesh from a decal configuration.
    This is basically calling MeshBuilder.CreateDecal, with some extra steps:

    • add created decal mesh to source mesh asset container
    • overwrite decal mesh side orientation (important for glTF models)
    • move decal along the "normal" to avoid clipping

    Parameters

    Returns Mesh

Generated using TypeDoc