Defines the positions and optional per-marker parameters of markers in a marker batch. The markers are rendered in the primitive's Reference Frame.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
|
| [Managed C++] |
|---|
|
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
|
[Python - STK API ] |
|---|
def SetWithOptionalParameters(self, Positions:list, OptionalParameters:"IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters") -> None: |
- Positions
- An array containing new positions (in the order x, y, z) for markers in the marker batch.
- OptionalParameters
- Optional per-marker parameters corresponding to positions. Each per-marker parameter must have the same number of elements as positions.
This call overwrites the primitive's previous markers. To update a subset of markers, use Set Partial.
When a per-marker parameter is not specified in optionalParameters, its corresponding per-batch value is used. For example, if optionalParameters did not have a texture array defined with MarkerBatchPrimitiveOptionalParameters.SetTextures, each marker uses the batch's Texture.
Shows the format of the Colors, Positions and Indices parameters when updating a marker batch primitive.
| [C#] | ||
|---|---|---|
| ||
Shows the format of the Colors, Positions and Indices parameters when updating a marker batch primitive.
| [Visual Basic .NET] | ||
|---|---|---|
| ||






