setZ

vector3d:setZ(z: numero) --> nil

Imposta la coordinata Z di un vettore.

Esempio 1. Esempio setZ

local p = Point(0, 0, 0)
p:setZ(77)
print("\nsetZ(77): Z=" .. p:Z())

Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator