element originates a square surface sized 1x1, lying in the X-Y plane and balanced around the coordinate system origin. The coordinates of the wall vertices are (-0.5, 0.5, 0), (0.5, 0.5, 0), (-0.5, -0.5, 0), and (0.5, -0.5, 0). A wall is composed of 2 triangles, their vertices being 0-1-2 and 2-1-3. The normals located in the vertices are (0, 0, -1). The texture coordinates in the vertices are (0, 0), (1, 0), (0, 1), and (1,1). The wall is oriented in the negative Z axis direction, i.e. facing the default camera
. The element returns the identification number
of the created wall.
As a default, the wall is visible from the front side only. Its visibility is changeable by the visible object side
Full Html Context Help of The Peter - Gemtree Software & Children Programming