vertex_float1

Add a floating point value to a vertex.

Syntax:

GML Code Example

vertex_float1(buffer, float);


Argument Description
buffer The buffer to write the information to.
float The input value.


Returns: N/A


Description

This function will add a floating point value to the vertex data. The vertex must have been formatted correctly to accept this using the vertex_format_add_custom function.


Example:

GML Code Example

vertex_float1(buff, 0.05);

The above code will add a floating point value to the vertex data being defined.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here