Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_d3d_vertex_texture_colour

(view raw script w/o annotations or w/e)
1
function d3d_vertex_texture_colour(argument0, argument1, argument2, argument3, argument4, argument5, argument6) //gml_Script_d3d_vertex_texture_colour
2
{
3
    vertex_position_3d(global.__d3dPrimBuffer, argument0, argument1, argument2)
4
    vertex_normal(global.__d3dPrimBuffer, 0, 0, 0)
5
    vertex_colour(global.__d3dPrimBuffer, argument5, argument6)
6
    vertex_texcoord(global.__d3dPrimBuffer, (argument3 * global.__d3dPrimTexW + global.__d3dPrimTexX), (argument4 * global.__d3dPrimTexH + global.__d3dPrimTexY))
7
}