FMX.Types3D.TMeshData.Points

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property Points: string read GetPoint3Ds write SetPoint3Ds stored False;

C++

__property System::UnicodeString Points = {read=GetPoint3Ds, write=SetPoint3Ds, stored=false};

プロパティ

種類 可視性 ソース ユニット
property published
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TMeshData

説明

このメッシュを構築する 3D の点の座標を示します。

座標は 文字列 として提供され、次の形式でなければなりません:

 var
   MeshData: TMeshData;
 
 begin
   MeshData := TMeshData.Create;
 
   MeshData.Points := '1, 1, 1'; { 1 つの 3D の点 (1, 1, 1) のみ }
   MeshData.Points := '1, 1, 1, 0, 1, 1'; { 2 つの 3D の点 (1, 1, 1) と (0, 1, 1) }
   { ... 以下同様 }

セパレータ トークンは、カンマ(,)または空白スペースでなければなりません。 以下の文は、同等のものです:

   MeshData.Points := '1, 1, 1, 0, 1, 1'; { 2 つの 3D の点 (1, 1, 1) と (0, 1, 1) }
   MeshData.Points := '1  1  1  0  1  1'; { 2 つの 3D の点 (1, 1, 1) と (0, 1, 1) }
   MeshData.Points := '1  1  1, 0  1  1'; { 2 つの 3D の点 (1, 1, 1) と (0, 1, 1) }
   MeshData.Points := '1, 1, 1  0, 1, 1'; { 2 つの 3D の点 (1, 1, 1) と (0, 1, 1) }

関連項目