FMX.Types3D.TMeshData.TexCoordinates
Delphi
property TexCoordinates: string read GetTexCoordinates write SetTexCoordinates stored False;
C++
__property System::UnicodeString TexCoordinates = {read=GetTexCoordinates, write=SetTexCoordinates, stored=false};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TMeshData |
説明
このメッシュ上にレンダリングされるテクスチャの座標を示します。
座標は 文字列 として提供され、次の形式でなければなりません:
var
MeshData: TMeshData;
begin
MeshData := TMeshData.Create;
MeshData.TexCoordinates := '0, 0, 0, 1, 1, 0, 1, 1';
セパレータ トークンは、カンマ(,
)または空白スペースでなければなりません。 以下の文は、同等のものです:
MeshData.TexCoordinates := '0, 0, 0, 1, 1, 0, 1, 1';
MeshData.TexCoordinates := '0 0 0 1 1 0 1 1';
MeshData.TexCoordinates := '0 0, 0 1, 1 0, 1 1';
MeshData.TexCoordinates := '0, 0 0, 1 1, 0 1, 1';