FMX.Types3D.TContextHelper.FillCube
Delphi
procedure FillCube(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
Fills 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 filled.
Size specifies the size of the cube to be filled.
Opacity specifies the level of transparency of the cube to be filled.
Color specifies the color to fill the cube.
To draw only the outline of the cube, call the DrawCube method.