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 Variant()
|
Remarks
Each texture coordinate component is in the range [0,
1]. The s and t components define
the bottom left corner and the p and q
components define the upper right corner. When the marker batch
uses an entire texture, the texture coordinates are [s, t, p,
q] = [0, 0, 1, 1].
If per-marker texture coordinates were specified with MarkerBatchPrimitiveOptionalParameters.SetTextureCoordinates, the per-batch texture coordinate is ignored.
Example
Shows the format of
the marker batch's TextureCoordinate property.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the marker batch's TextureCoordinate property.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||