Fields

vertices:Array<Int>

  • A list of the vertices in texture space of the geometry in the form {px0, py0, px1, py1, ..., pxn, pyn}.

uvs:Array<Int>

  • A list of the uv coordinates in texture space of the geometry in the form of {u0, v0, u1, v1, ..., un, vn}

@:optionaloptionalrotated:Null<Bool>

  • Whether this geometry uses a rotated image (clockwise 90 degrees).

indices:Array<Int>

  • A list of the indices of the geometry in the form {i0, i1, i2, ..., in}. Each tripe in the list represents a triangle.