Represents a 3D graphics rendering utility for drawing and managing 3D elements in a chart.
Adds a visual polygon to the 3D chart and returns its identifier.
Parameter | Type | Description |
---|---|---|
polygon | Chart3DPolygon |
The polygon to add. |
chart | Chart3D |
The 3D chart. |
Returns number
Draws a 3D element based on the specified Binary Space Partitioning Node.
Parameter | Type | Description |
---|---|---|
bspElement | Chart3DBspNode |
The Binary Space Partitioning Node representing the 3D element. |
chart | Chart3D |
The 3D chart. |
Returns void
Draws the 3D nodes starting from the root based on the eye vector.
Parameter | Type | Description |
---|---|---|
bspElement | Chart3DBspNode |
The root Binary Space Partitioning Node. |
eyeVector | Chart3DVector |
The eye vector. |
panel | Element |
The panel element to render the view on. |
chart | Chart3D |
The 3D chart. |
Returns void
Prepares the view for rendering based on specified parameters.
Parameter | Type | Description |
---|---|---|
perspectiveAngle | number |
The perspective angle. |
depth | number |
The depth of the view. |
rotation | number |
The rotation angle. |
tilt | number |
The tilt angle. |
size | Size |
The size of the viewing area. |
chart | Chart3D |
The 3D chart. |
Returns void
Renders the 3D view on the specified panel element.
Parameter | Type | Description |
---|---|---|
panel (optional) | Element |
The panel element to render the view on. |
chart (optional) | Chart3D |
The 3D chart. |
rotation (optional) | number |
The rotation angle. |
tilt (optional) | number |
The tilt angle. |
size (optional) | Size |
The size of the viewing area. |
perspectiveAngle (optional) | number |
The perspective angle. |
depth (optional) | number |
The depth of the view. |
Returns void