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] |
|---|
Public Sub SetWithOptionalParameters( _ ByRef Positions As System.Array, _ ByVal OptionalParameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters _ ) |
| [C#] |
|---|
public void SetWithOptionalParameters( |
| [Managed C++] |
|---|
public: void SetWithOptionalParameters( |
| [Java] |
|---|
public setWithOptionalParameters( |
| [Unmanaged C++] |
|---|
public: HRESULT SetWithOptionalParameters( |
- 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#] | Copy Code | |
|---|---|---|
| ||
Shows the format of the Colors, Positions and Indices parameters when updating a marker batch primitive.
| [Visual Basic .NET] | Copy Code | |
|---|---|---|
| ||
