Show: Delphi C++
Display Preferences

FMX.Types3D.TMaterialSource

From XE3 API Documentation
Jump to: navigation, search

FMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TMaterialSource

Delphi

TMaterialSource = class(TFmxObject)

C++

class PASCALIMPLEMENTATION TMaterialSource : public Fmx::Types::TFmxObject

Properties

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

Description

Describes the source of a kind of a TMaterial.

Use TMaterialSource to link materials to 3D objects. The source material is specified through the Material property.

Descend from TMaterialSource and implement CreateMaterial to create a source of a new material. A TMaterialSource can be placed anywhere in a form and linked to more than one object.

The existing materials' sources can be found in the FMX.Materials unit.

To create and use a library of materials, use a TMaterialBook object.

See Also

Personal tools
Translations