SurfaceTool.addTriangleFan

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

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

Meta