withTextureCoordinates method - TriangleMeshBuilder class - mapview library - Dart API
withTextureCoordinates
withTextureCoordinates abstract method
Adds texture coordinates to a triangle.
Coordinates are specified as <u,v> with <0,0>
representing the bottom-left and <1,1> upper-right corner.
-
aTexture coordinate for vertex a. See MeshBuilder.triangle -
bTexture coordinate for vertex b. See MeshBuilder.triangle -
cTexture coordinate for vertex c. See MeshBuilder.triangle
Returns MeshBuilder. A MeshBuilder instance.
Implementation
MeshBuilder withTextureCoordinates(Anchor2D a, Anchor2D b, Anchor2D c);