API:FMX.Materials.TCustomMaterial

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Types3D.TMaterialSystem.TObjectTCustomMaterial

Delphi

TCustomMaterial = class(TMaterial)

C++

class PASCALIMPLEMENTATION TCustomMaterial : public Fmx::Types3d::TMaterial

Properties

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

Description

Base class for all materials.

FMX.Materials.TCustomMaterial inherits from FMX.Types3D.TMaterial. All content below this line refers to FMX.Types3D.TMaterial.

Base class for all materials.

TMaterial encapsulates the basic properties and routines that define materials for FireMonkey 3D objects and filters.

To create materials for 3D objects, use TCustomMaterial as the base class. The existing FireMonkey materials are defined in the FMX.Materials unit. To link a material to a 3D object, use a source of a certain material and the MaterialSource property of any 3D shape.

See Also