Description
Defines a collection of texture coordinates,
one for each marker in the batch.
Syntax
[Visual Basic .NET] |
Public Sub SetTextureCoordinates( _
ByRef TextureCoordinates As System.Array _
)
|
Parameters
Remarks
Example
Shows the format of
the TextureCoordinates parameter when setting per marker texture
coordinates.
[C#] |
Copy Code
|
Array coordinates = new object[]
{
0, 0, 1, 1,
1, 1, 0, 0
};
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize();
parameters.SetTextureCoordinates(ref coordinates);
|
|
Shows the format of
the TextureCoordinates parameter when setting per marker texture
coordinates.
[Visual Basic .NET] |
Copy Code
|
Dim coordinates As
Array = New Object() {0, 0,
1, 1, 1, 1, _
0, 0}
Dim parameters As
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters =
sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize()
parameters.SetTextureCoordinates(coordinates)
|
|
See Also