Class TX3DMaterialInfo_1
Unit
X3DNodes
Declaration
type TX3DMaterialInfo_1 = class(TX3DMaterialInfoAbstract)
Description
no description available, TX3DMaterialInfoAbstract description follows
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
Overview
Methods
Description
Methods
 |
function Mirror: Single; override; |
|
 |
function Transparency: Single; override; |
|
 |
function ReflSpecularExp: Single; override; |
|
 |
function TransSpecularExp: Single; override; |
|
Generated by PasDoc 0.13.0 on 2014-04-30 22:06:49
|