Description
Gets or sets the per-batch texture
coordinate, which is applied to each marker in the batch. The array
contains the texture coordinates arranged in the order s, t, p,
q.
Property type
Read-write property
Syntax
[Visual Basic .NET] |
Public Property TextureCoordinate() As System.Array
|
[C#] |
public System.Array TextureCoordinate {get; set;}
|
[Managed C++] |
public: __property System::Array^ get_TextureCoordinate();
public: __property void set_TextureCoordinate(
System::Array ^
);
|
[Unmanaged C++] |
public: HRESULT get_TextureCoordinate(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_TextureCoordinate(
SAFEARRAY * pNewTextureCoordinate
);
|
[Java] |
public Object[] getTextureCoordinate();public void setTextureCoordinate(
Object[]
);
|
Remarks
Example
Shows the format of
the marker batch's TextureCoordinate property.
[C#] |
Copy Code
|
Array coordinates = new object[]
{
0,
0,
1,
1
};
markerBatch.TextureCoordinate = coordinates;
|
|
Shows the format of
the marker batch's TextureCoordinate property.
[Visual Basic .NET] |
Copy Code
|
Dim coordinates As
Array = New Object() {0, 0,
1, 1}
markerBatch.TextureCoordinate = coordinates
|
|
See Also