FMX.Objects3D.TExtrudedShape3D
Delphi
TExtrudedShape3D = class(TShape3D)
C++
class PASCALIMPLEMENTATION TExtrudedShape3D : public TShape3D
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Objects3D.pas FMX.Objects3D.hpp |
FMX.Objects3D | FMX.Objects3D |
Description
Represents an extruded 3D shape.
The TExtrudedShape3D class implements an extruded 3D shape that can be placed on a 3D FireMonkey form. TExtrudedShape3D is the base class for all extruded 3D shapes such as TPath3D, TRectangle3D, TText3D, and so on.
Use Sides property to specify which of the shape's sides are rendered and Flatness property to set the maximum permitted error between the curve and its flattened approximation.
The sides of an extruded shape can be filled with different materials:
- The MaterialSource specifies the material for the front side.
- The MaterialBackSource specifies the material for the back side.
- The MaterialShaftSource specifies the material for the body of the object (shaft sides).
Examples of extruded shapes: