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( _ ByVal Positions As System.Array, _ ByVal OptionalParameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters _ ) |
[C#] |
---|
public void SetWithOptionalParameters( System.Array Positions, IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters OptionalParameters ); |
[Managed C++] |
---|
public: void SetWithOptionalParameters( System::Array ^ Positions, IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters ^ OptionalParameters ); |
[Unmanaged C++] |
---|
public: HRESULT SetWithOptionalParameters( SAFEARRAY * * Positions, IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters * OptionalParameters ); |
[Java] |
---|
public void setWithOptionalParameters( AgSafeArray Positions, IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters OptionalParameters ); |
[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] | ||
---|---|---|
|