Class TPolyhedron
Unit
a3dge.Model3D
Declaration
type TPolyhedron = class(TModel3D)
Description
Describe a polyhedron.
TPolyhedron introduces fields, properties and methods that helps to define and manage the 3D model.
This class doesn't use textures, thus it uses less memory and it's a bit faster than TTexturedPolyhedron.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create; override; |
Constructor.
|
 |
destructor Destroy; override; |
Destructor.
|
 |
function BoundingSphereRadius: Single; override; |
Calculate the bounding sphere radius of the model.
This method uses current Vertices to calculate the radius.
See also
- TPolyhedron.Vertices
- Provides access to the vertices.
|
 |
function BoundingBox: TBox; override; |
Returns the bounding box limits.
This method uses current Vertices to calculate the bounding box.
See also
- TPolyhedron.Vertices
- Provides access to the vertices.
|
 |
PROCEDURE Render (CONST aObject: TObject3D); OVERRIDE; |
Renders the polyedron.
|
Properties
 |
property Polygons[constaNdx:Integer]: TPolygon
read GetPolygon write SetPolygon; |
Provides access to the polygons.
|
 |
property Materials: TMaterialList read fMaterials; |
Materials used by the model.
|
Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.
|