Skip to main content

MeshUtils

Mesh utility methods

Functions

getOrCreateMesh

MeshUtils.getOrCreateMesh(partBasePart) → Mesh?

Get or create a mesh object for a part

Show raw api
{
    "functions": [
        {
            "name": "getOrCreateMesh",
            "desc": "Get or create a mesh object for a part",
            "params": [
                {
                    "name": "part",
                    "desc": "",
                    "lua_type": "BasePart"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Mesh?"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 14,
                "path": "src/meshutils/src/Shared/MeshUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "MeshUtils",
    "desc": "Mesh utility methods",
    "source": {
        "line": 5,
        "path": "src/meshutils/src/Shared/MeshUtils.lua"
    }
}