sample_triangle_attribute
sample_triangle_attribute(out, out_offset, a, b, c, attribute_array, dimensions, u, v)
Kind: global function
Param | Type | Description |
---|---|---|
out | Array.<number> | |
out_offset | number | |
a | number | vertex index 0 |
b | number | vertex index 0 |
c | number | vertex index 0 |
attribute_array | Array.<number> | ArrayLike.<number> | Float32Array | |
dimensions | number | |
u | number | Barycentric coordinate |
v | number | Barycentric coordinate |