Description
Defines a collection of textures, one for each marker in the batch.
Syntax
[Visual Basic .NET] |
---|
Public Sub SetTextures( _
ByVal Textures As System.Array _
)
|
[C#] |
---|
public void SetTextures(
System.Array Textures
);
|
[Managed C++] |
---|
public: void SetTextures(
System::Array ^ Textures
);
|
[Unmanaged C++] |
---|
public: HRESULT SetTextures(
SAFEARRAY * * Textures
);
|
[Java] |
---|
public void setTextures(
AgSafeArray Textures
);
|
[Python - STK API ] |
---|
def SetTextures(self, Textures:list) -> None:
|
Parameters
Remarks
See Also
Example
Shows the format of the Textures parameter when setting per marker textures.
[C#] |
---|
Array textures = new object[]
{
sceneManager.Textures.LoadFromStringUri(texturePath1),
sceneManager.Textures.LoadFromStringUri(texturePath2),
sceneManager.Textures.LoadFromStringUri(texturePath3),
sceneManager.Textures.LoadFromStringUri(texturePath4)
};
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize();
parameters.SetTextures(ref textures);
|
|
Shows the format of the Textures parameter when setting per marker textures.
[Visual Basic .NET] |
---|
Dim textures As Array = New Object() {sceneManager.Textures.LoadFromStringUri(texturePath1), sceneManager.Textures.LoadFromStringUri(texturePath2), sceneManager.Textures.LoadFromStringUri(texturePath3), sceneManager.Textures.LoadFromStringUri(texturePath4)}
Dim parameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize()
parameters.SetTextures(textures)
|
|