drawCubeTextureRec function

void drawCubeTextureRec(
  1. Texture2D texture,
  2. Rectangle source,
  3. Vector3 position,
  4. double width,
  5. double height,
  6. double length,
  7. Color color,
)

Draw cube with a region of a texture.

Implementation

void drawCubeTextureRec(
  Texture2D texture,
  Rectangle source,
  Vector3 position,
  double width,
  double height,
  double length,
  Color color,
) {
  return library.DrawCubeTextureRec(
    texture.ref,
    source.ref,
    position.ref,
    width,
    height,
    length,
    color.ref,
  );
}