For convenience. Updates a subset of
positions and/or optional per-marker parameters of markers in a
marker batch using Cartographic positions. Longitude and latitude
are in radians, and altitude is in meters. renderPassHint is
provided for efficiency. This is equivalent to converting each
position in positions to Cartesian and calling
Set Partial.
[Visual Basic .NET] |
---|
Public Sub SetPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass( _
ByVal CentralBody As String, _
ByRef Positions As System.Array, _
ByVal OptionalParameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters, _
ByRef Indices As System.Array, _
ByVal IndicesOrderHint As AgEStkGraphicsIndicesOrderHint, _
ByVal RenderPassHint As AgEStkGraphicsRenderPassHint _
)
|
[C#] |
---|
public void SetPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass(
|
[Managed C++] |
---|
public: void SetPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass(
|
[Java] |
---|
public setPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass(
|
[Unmanaged C++] |
---|
public: HRESULT SetPartialCartographicWithOptionalParametersIndicesOrderAndRenderPass(
|
- CentralBody
- The central body the positions are defined on.
- Positions
- An array containing new positions used to update a subset of positions in the marker batch, provided in the order latitude, longitude, altitude.
- OptionalParameters
- Optional per-marker parameters corresponding to positions. Each per-marker parameter must have the same number of elements as positions.
- Indices
- An array of integers containing the indices into positions. A set of latitude, longitude, and altitude elements is considered a single index.
- IndicesOrderHint
-
Member Value Description eStkGraphicsIndicesOrderHintNotSorted 0 The indices
passed toSetPartial
are not sorted. Therefore, the primitive may sort them to improve performance of writing its geometry to video memory.eStkGraphicsIndicesOrderHintSortedAscending 1 The indices
passed toSetPartial
are sorted in ascending order. Therefore, the primitive does not need to sort them. It is recommended to only useSortedAscending
if it is easy and efficient for you to provide theindices
in ascending order. For example, do not use a standard sorting algorithm to sort your indices so you can useSortedAscending
. Instead useNotSorted
and let the primitive decide what is most efficient. - RenderPassHint
-
Member Value Description eStkGraphicsRenderPassHintOpaque 0 The collection of Color contains only opaque colors. This implies that each color's alpha component is 255. eStkGraphicsRenderPassHintTranslucent 1 The collection of Color contains translucent colors. This implies that at least one color has an alpha component that is not 255. eStkGraphicsRenderPassHintUnknown 2 It is unknown if the collection of Color contains opaque or translucent colors.
See Set Partial for a full discussion.
Shows the format of
the Colors, Positions and Indices parameters when updating a marker
batch primitive with cartographic positions.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Colors, Positions and Indices parameters when updating a marker
batch primitive with cartographic positions.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|