D3D_POLYGON3D

This command will draw a 2D polygon in 3D space. Specifying a colour will override the colour set by D3D_COLOR. By varying the
point count, different primitive shapes can be created, three points will create a triangle, four points a square, and five points
a pentagon. The value of this parameter should be carefully monitored as each point increases the time needed to draw the shape.
Setting Z Enable to 1 will enable Z-Buffering.
NOTE: This command does not create a reusable object, and therefore must be call whenever a 3D polygon is required.

SYNTAX

D3D_POLYGON3D Camera, RadiusX#, RadiusY#, X#, Y#, Z#, NormalX#, NormalY#, NormalZ#, Point Count, Colour, Z Enable

RELATED INFO

D3DFunc Commands Menu
Index

EXAMPLE

View Showcase Example