ScreenXFrom3D

Famille: 3D · Une forme

Ce que fait la commande

ScreenXFrom3D lit un objet 3D sans rien y changer. Il prend x (un flottant), y (un flottant) et z (un flottant), et rend un flottant.

Syntaxe

ScreenXFrom3D(x float, y float, z float) → float

Paramètres

NomType
xfloat
yfloat
zfloat

Chaque forme rend

float

Exemple · engendré

DO  Print(ScreenXFrom3D(100.0, 120.0, 100.0))  Sync()LOOP

ScreenXFrom3D est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.

286 commandes dans 3D