Class TModel3D
Unit
a3dge.World3D
Declaration
type TModel3D = class(TObject)
Description
Base for models.
TModel3D implements an abstract class to define how objects will use models.
An instance of TModel3D is never created directly, instead a descendant class such as TPolygon should be created. This is because TModel3D is an abstract class which does not implement all methods; TModel3D also doesn't store any information about the model, this is the functionality introduced in descendants.
See also
- TObject3D.Model
- Reference to the model.
- a3dge.Model3D
- a3dge.Prims3D
Hierarchy
Overview
Methods
Properties
 |
property Name: String read fName write SetName; |
 |
property Transparent: Boolean read fIsTransparent write fIsTransparent; |
Description
Methods
 |
CONSTRUCTOR Create; VIRTUAL; |
To force to override the constructor.
|
 |
FUNCTION BoundingSphereRadius: SINGLE; VIRTUAL; |
Calculates the bounding sphere radius of the model.
By default it returns zero.
See also
- TObject3D.Radius
- Bounding sphere radius.
- TModel3D.BoundingBox
- Returns the bounding box limits.
|
 |
PROCEDURE Render (CONST aOwner: TObject3D); VIRTUAL; ABSTRACT; |
Renders the object.
|
Properties
 |
property Name: String read fName write SetName; |
Model name.
Names are converted to lower-case.
|
 |
property Transparent: Boolean read fIsTransparent write fIsTransparent; |
Has model transparent or translucent parts.
Default is False .
|
Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.
|