FMX.Objects3D.TMesh

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TMesh = class(TCustomMesh)

C++

class PASCALIMPLEMENTATION TMesh : public TCustomMesh

Properties

Type Visibility Source Unit Parent
class public
FMX.Objects3D.pas
FMX.Objects3D.hpp
FMX.Objects3D FMX.Objects3D

Description

Note: The rendering system has changed. In order to ensure backwards compatibility, use Original as the wrap mode of your mesh.

Represents a 3D shape that can be customized.

The TMesh class publishes a set of properties from its ancestor, TCustomMesh, in order to let you design new 3D shapes at design time from within the IDE, through the Object Inspector.

Use the Data property to specify the points, normals and textures for each point, and the order in which the resulting triangles are drawn. The designed shape is filled with the material specified through MaterialSource property. If no material is specified, then the shape is filled with red color.

Customized TMesh.png

See Also