FMX.Types3D.TMeshData.AssignFromMeshVertex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AssignFromMeshVertex(const Vertices: array of TMeshVertex; const Indices: array of Word); overload;
procedure AssignFromMeshVertex(const Vertices: array of TMeshVertex; const Indices: array of Cardinal); overload;

C++

void __fastcall AssignFromMeshVertex(const TMeshVertex *Vertices, const int Vertices_High, const System::Word *Indices, const int Indices_High)/* overload */;
void __fastcall AssignFromMeshVertex(const TMeshVertex *Vertices, const int Vertices_High, const unsigned *Indices, const int Indices_High)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TMeshData

Description

Fills the index buffer and vertex buffer attached to this 3D mesh.

The AssignFromMeshVertex method is used to fill the index buffer and vertex buffer attached to this 3D mesh with the values extracted from the vertices passed through the Vertices parameter. The assignment is made using the indices passed through the Indices parameter.

See Also