FMX.Objects3D.TCube

Delphi
TCube = class(TCustomMesh)
C++
class PASCALIMPLEMENTATION TCube : public TCustomMesh
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Objects3D.pas FMX.Objects3D.hpp |
FMX.Objects3D | FMX.Objects3D |
Description
Represents a 3D cube.
The TCube class implements a 3D cube shape, built on a 3D wireframe, that can be placed on a 3D FireMonkey form. TCube is a visual object that can be added from the Tool Palette.
To change the color or add texture to the cube, use the MaterialSource property. Set SubdivisionsDepth, SubdivisionsHeight and SubdivisionsWidth to specify how smooth the cube's surfaces are.