draw_text_3d

Draw a 3D text

Arguments

  • text : string with the text to render
  • x : x
  • y : y
  • z : z
  • xscale : xscaling
  • yscale : yscaling
  • xrot : rotation in x axis
  • yrot : rotation in y axis
  • zrot : rotation in z axis

Returns : void

Source code

  1. ///draw_text_3d(text, x, y, z, xscale, yscale, xrot, yrot, zrot)
  2. d3d_transform_set_scaling(argument4, argument5, 1);
  3. d3d_transform_add_rotation_x(argument6);
  4. d3d_transform_add_rotation_y(argument7);
  5. d3d_transform_add_rotation_z(argument8);
  6. d3d_transform_add_translation(argument1, argument2, argument3)
  7. draw_text(0, 0, argument0);
  8. d3d_transform_set_identity();