d3d_model_vertex_normal_texture_color(id,x,y,z,nx,ny,nz,u,v,col,alpha)
Jump to navigation
Jump to search
Description
Appends the given vertex with normal, texture, color, and transparency to the given model.
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | Index of the model to add the vertex to |
x | gs_scalar | X coordinate of the vertex |
y | gs_scalar | Y coordinate |
z | gs_scalar | Z coordinate |
nx | gs_scalar | X coordinate of the normal to give the vertex |
ny | gs_scalar | Y coordinate |
nz | gs_scalar | Z coordinate |
u | gs_scalar | U coordinate of the sampler for the vertex |
v | gs_scalar | V coordinate of the sampler for the vertex |
col | integer | The color to give the vertex |
alpha | double | The transparency of the vertex |
Return Values
void: This function does not return anything.
Example Call
// Example of using the function.