For convenience. Defines the positions and
colors of points in a point 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.
[Visual Basic .NET] |
---|
Public Sub SetCartographicWithColorsAndRenderPass( _
ByVal CentralBody As String, _
ByRef Positions As System.Array, _
ByRef Colors As System.Array, _
ByVal RenderPassHint As AgEStkGraphicsRenderPassHint _
)
|
[C#] |
---|
public void SetCartographicWithColorsAndRenderPass(
|
[Managed C++] |
---|
public: void SetCartographicWithColorsAndRenderPass(
|
[Java] |
---|
public setCartographicWithColorsAndRenderPass(
|
[Unmanaged C++] |
---|
public: HRESULT SetCartographicWithColorsAndRenderPass(
|
- CentralBody
- The central body the positions are defined on.
- Positions
- An array containing the new positions for the point batch, provided in the order latitude, longitude, altitude.
- Colors
- An array containing the numeric representation of colors for
the point batch. There must be one color for each position in
positions. In .NET a Color should be translated to a number by
calling its
ToArgb
method and casting the result as an unsigned integer. - 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 for a full discussion.
Shows the format of
the Positions, Colors and Indices parameters when updating a point
batch with cartographic positions.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Positions, Colors and Indices parameters when updating a point
batch with cartographic positions.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|