pub fn set_texture_coordinate_so(
    scale_x: f32,
    scale_y: f32,
    offset_x: f32,
    offset_y: f32
)
Expand description

Sets the texture coordinate scale and offset for the current frame.

Arguments

  • scale_x - A f32 representing the scale factor for the x-coordinate.
  • scale_y - A f32 representing the scale factor for the y-coordinate.
  • offset_x - A f32 representing the offset for the x-coordinate.
  • offset_y - A f32 representing the offset for the y-coordinate.