computeUVs static method
void
computeUVs(
- TextureRegion? region,
- double x,
- double y,
- double scaleX,
- double scaleY,
- double rotation,
- double width,
- double height,
- ArrayFloat offset,
- ArrayFloat uvs,
Computes UVs and offsets for a region attachment.
uvs Output array for the computed UVs, length of 8.
offset Output array for the computed vertex offsets, length of 8.
Implementation
static void computeUVs(TextureRegion? region, double x, double y, double scaleX, double scaleY, double rotation,
double width, double height, ArrayFloat offset, ArrayFloat uvs) {
SpineBindings.bindings.spine_region_attachment_compute_u_vs(region?.nativePtr.cast() ?? Pointer.fromAddress(0), x,
y, scaleX, scaleY, rotation, width, height, offset.nativePtr.cast(), uvs.nativePtr.cast());
}