withTextureCoordinates abstract method

MeshBuilder withTextureCoordinates(
  1. Anchor2D a,
  2. Anchor2D b,
  3. Anchor2D c,
  4. Anchor2D d,
)

Adds texture coordinates to a quad.

Coordinates are specified as <u,v> with <0,0> representing the bottom-left and <1,1> upper-right corner.

Returns MeshBuilder. A MeshBuilder instance.

Implementation

MeshBuilder withTextureCoordinates(Anchor2D a, Anchor2D b, Anchor2D c, Anchor2D d);