Skip to content

KX_MeshBuilder

Class Range.types.KX_MeshBuilder.

These items exist in the engine but were not in the Range documentation. The ones marked new in Anastacio were added by Anastacio Engine.

method

Creates a mesh part with the given material. primitive: 0 triangles (default), 1 points, 2 lines.

Returns: KX_MeshBuilderSlot

method

Builds the mesh from the slots and registers it in the scene. Then use obj.replaceMesh() to put it on an object.

Returns: KX_Mesh

method

Creates a builder from an existing mesh, to copy and edit it.

Returns: KX_MeshBuilder

attribute · read-only

List of the mesh slots (KX_MeshBuilderSlot).