Show: Delphi C++
Display Preferences

FMX.Objects3D.TCube

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Objects3D.TCustomMeshFMX.Objects3D.TShape3DFMX.Controls3D.TControl3DFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCube

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.

Cube.png

See Also

Personal tools
In Other Languages
Previous Versions
Assistance