SurfaceTool.addTriangleFan

Insert a triangle fan made of array data into Mesh being constructed. Requires primitive type be set to PRIMITIVE_TRIANGLES.

struct SurfaceTool
@nogc nothrow
void
addTriangleFan
(
in PoolVector3Array vertexes
,
in PoolVector2Array uvs = PoolVector2Array.init
,
in PoolColorArray colors = PoolColorArray.init
,
in PoolVector2Array uv2s = PoolVector2Array.init
,
in PoolVector3Array normals = PoolVector3Array.init
,
in Array tangents = Array.empty_array
)

Meta