Function cloneMesh

  • Clone a Wonderland Engine mesh. A new, separate mesh will be created with the same data as the given mesh. Useful if you want to transform a mesh without modifying the original mesh.

    Note that skinning data is not cloned.

    Returns

    Returns a copy of the given mesh.

    Parameters

    • oMesh: Mesh

      The original mesh to copy.

    • engine: WonderlandEngine

      The Wonderland Engine instance to use for creating the mesh

    Returns Mesh

Generated using TypeDoc