Class TX3DMaterialInfoAbstract
Unit
X3DNodes
Declaration
type TX3DMaterialInfoAbstract = class(TObject)
Description
Material information, usable for all VRML/X3D versions.
VRML 1.0 and VRML/X3D >= 2.0 materials work a little differently: VRML 1.0 has arrays of values, e.g. an array of diffuse color, while VRML/X3D >= 2.0 is really a single material, e.g. one diffuse color. This class is designed to hide these differences as much as possible: it provides a simple common interface for getting material properties.
Note that it doesn't try to abstract all material properties — there are some features that are simply fundamentally different in how VRML 1.0 and >= 2.0 materials should be treated, and they cannot be abstracted under a common interface here.
Hierarchy
- TObject
- TX3DMaterialInfoAbstract
Overview
Methods
Description
Methods
 |
function Mirror: Single; virtual; abstract; |
|
 |
function Transparency: Single; virtual; abstract; |
|
 |
function ReflSpecularExp: Single; virtual; abstract; |
|
 |
function TransSpecularExp: Single; virtual; abstract; |
|
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:16
|