Skip to main content

Polygon3D

Polygon3D objects allow presenting a 2D polygon stretched to given Y range. They can be added to View3D. Polygons list.

Define the polygon path in X and Z axis values and store it in Points array. Set the Y range with YMin and YMax values.

Material. DiffuseColor controls the main color of the rectangle. Rotate the polygon to another angle with Rotation.X, Rotation.Y and Rotation.Z in degrees.

Polygon3D Properties
Properties of Polygon3D objects.

Polygon3D example
A 6-point polygon ranging from YMin = 0, YMax = 15.

Polygon3D map example
World population shown with Polygon3D objects. A Polygon3D object is drawn based on each region of map data. The amount of population of a country is used to color the polygon and to set its YMax. China and India are shown with translucent colors because of their high population.

Examples

info

To see feature demonstration as example, check ExamplePolygons3D and PopulationPolygons3D from our Demo.