Show: Delphi C++
Display Preferences

FMX.Materials.TColorMaterialSource

From XE3 API Documentation
Jump to: navigation, search

FMX.Types3D.TMaterialSourceFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TColorMaterialSource

Delphi

TColorMaterialSource = class(TMaterialSource)

C++

class PASCALIMPLEMENTATION TColorMaterialSource : public Fmx::Types3d::TMaterialSource

Properties

Type Visibility Source Unit Parent
class public
FMX.Materials.pas
FMX.Materials.hpp
FMX.Materials FMX.Materials

Description

Defines a source of TColorMaterial.

Use TColorMaterialSource to link a TColorMaterial to 3D objects. The link is made through the MaterialSource property of the 3D object. To change the color of the material, set the Color property.

In this example, the cube is linked to a TColorMaterialSource with the Color set to claNavy, and the cone has no material source linked. TColorMaterialSource.png

See Also

Personal tools
Translations