make_ring_vertices
make_ring_vertices(out, Px, Py, Pz, N, B, T, u, bend_angle, shape, shape_normals, shape_length, shape_transform)
Kind: global function
Param | Type | Description |
---|---|---|
out | StreamGeometryBuilder | |
Px | number | |
Py | number | |
Pz | number | |
N | Vector3 | normal |
B | Vector3 | binormal |
T | Vector3 | tangent |
u | number | X component of UV |
bend_angle | Array.<number> | Float32Array | |
shape | Array.<number> | Float32Array | 2d shape, format [x0,y1, x1,y1, ... , xN,yN] |
shape_normals | Array.<number> | Float32Array | |
shape_length | number | number of points in the shape |
shape_transform | Array.<number> | Float32Array | 3x3 2d transform matrix for shape Note that matrix uses row-major order |