FMX.Types3D.TContextHelper.DrawCube
Delphi
procedure DrawCube(const Center, Size: TPoint3D; const Opacity: Single; const Color: TAlphaColor);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | FMX.Types3D.pas | FMX.Types3D | TContextHelper |
Description
Draws a cube defined by center and size with a specified color on the current 3D context.
Center
specifies the center of the cube to be drawn.
Size
specifies the size of the cube to be drawn.
Opacity
specifies the level of transparency of the cube to be drawn.
Color
specifies the color to draw the cube.
To fill the cube, call the FillCube method.