d3d_transform_vertex

Get the x, y and z values of a transformed vertex.

Syntax:

d3d_transform_vertex(x, y, z)


Argument Description
x The x component of the transform vertex.
y The y component of the transform vertex.
z The z component of the transform vertex.


Returns: Array


Description

This function returns an array of 3 values, with each one corresponding to the x, y, and z values of the transformed vertex with the current matrix.


Example:

a = d3d_transform_vertex(x, y, z);

The above code will get the "x", "y" and "z" values for the vertex using the current transform matrix, such that a[0] = x, a[1] = y, a[2] = z.


Back: 3D Transformations
Next: matrix_get
© Copyright YoYo Games Ltd. 2018 All Rights Reserved