glscene

 

TGLMaterialLibrary

Page history last edited by skinhat 3 yrs ago

The material library is a GLScene component that is used to hold a list of textures (TGLLibMaterial) and can be set at design time. Rather than create a texture specific to a scene object, a texture can be put into the material library and all scene objects can use it. Materials in a material library can also be scaled and offset unlike textures associated with an object only.

Important TGLMaterialLibrary properties and methods:

Materials: TGLLibMaterials

Actual list of textures

texturepaths: Default directory path where texture images will be found

Refer to the material library article for more detailed information.

Unit: GLTexture

Descends from TGLCadenceAbleComponent.

Comments (0)

You don't have permission to comment on this page.