Module surface_tool

Procs

proc begin*(self: SurfaceTool; primitive: int64) {.
gcsafe, locks: 0
.}
proc addVertex*(self: SurfaceTool; vertex: Vector3) {.
gcsafe, locks: 0
.}
proc addColor*(self: SurfaceTool; color: Color) {.
gcsafe, locks: 0
.}
proc addNormal*(self: SurfaceTool; normal: Vector3) {.
gcsafe, locks: 0
.}
proc addTangent*(self: SurfaceTool; tangent: Plane) {.
gcsafe, locks: 0
.}
proc addUv*(self: SurfaceTool; uv: Vector2) {.
gcsafe, locks: 0
.}
proc addUv2*(self: SurfaceTool; uv2: Vector2) {.
gcsafe, locks: 0
.}
proc addBones*(self: SurfaceTool; bones: PoolIntArray) {.
gcsafe, locks: 0
.}
proc addWeights*(self: SurfaceTool; weights: PoolRealArray) {.
gcsafe, locks: 0
.}
proc addSmoothGroup*(self: SurfaceTool; smooth: bool) {.
gcsafe, locks: 0
.}
proc addTriangleFan*(self: SurfaceTool; vertexes: PoolVector3Array;
                    uvs: PoolVector2Array; colors: PoolColorArray;
                    uv2s: PoolVector2Array; normals: PoolVector3Array;
                    tangents: Array) {.
gcsafe, locks: 0
.}
proc addIndex*(self: SurfaceTool; index: int64) {.
gcsafe, locks: 0
.}
proc index*(self: SurfaceTool) {.
gcsafe, locks: 0
.}
proc deindex*(self: SurfaceTool) {.
gcsafe, locks: 0
.}
proc generateNormals*(self: SurfaceTool) {.
gcsafe, locks: 0
.}
proc generateTangents*(self: SurfaceTool) {.
gcsafe, locks: 0
.}
proc addToFormat*(self: SurfaceTool; flags: int64) {.
gcsafe, locks: 0
.}
proc setMaterial*(self: SurfaceTool; material: Material) {.
gcsafe, locks: 0
.}
proc clear*(self: SurfaceTool) {.
gcsafe, locks: 0
.}
proc createFrom*(self: SurfaceTool; existing: Mesh; surface: int64) {.
gcsafe, locks: 0
.}
proc appendFrom*(self: SurfaceTool; existing: Mesh; surface: int64;
                transform: Transform) {.
gcsafe, locks: 0
.}
proc commit*(self: SurfaceTool; existing: Mesh = nil): Mesh {.
gcsafe, locks: 0
.}