Description
Renders one or more points in the 3D scene. Each point in the batch has a unique position and an optional color. All points in the batch share the same pixel size. For best performance, avoid creating lots of batches with only a few points each. See the Batching Performance Overview.
Object Model
Public Methods
Set |
Defines the positions of points in a point batch. The points are rendered in the primitive's Reference Frame. |
SetCartographic |
For convenience. Defines the positions of points in a point batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set. |
SetCartographicWithColors |
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. This is equivalent to converting each position in positions to Cartesian and calling Set. |
SetCartographicWithColorsAndRenderPass |
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. |
SetPartial |
Updates a subset of positions in a point batch. |
SetPartialCartographic |
For convenience. Updates a subset of positions in a point batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial |
SetPartialCartographicWithColors |
For convenience. Updates a subset of positions and/or colors in a point batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial |
SetPartialCartographicWithColorsIndicesOrderAndRenderPass |
For convenience. Updates a subset of positions and/or colors in a point batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial |
SetPartialCartographicWithIndicesOrder |
For convenience. Updates a subset of positions in a point batch using Cartographic positions. Longitude and latitude are in radians, and altitude is in meters. This is equivalent to converting each position in positions to Cartesian and calling Set Partial |
SetPartialWithColors |
Updates a subset of positions and/or colors in a point batch. |
SetPartialWithColorsIndicesOrderAndRenderPass |
Updates a subset of positions and/or colors in a point batch. |
SetPartialWithIndicesOrder |
Updates a subset of positions in a point batch. |
SetWithColors |
Defines the positions and colors of points in a point batch. The points are rendered in the primitive's Reference Frame. |
SetWithColorsAndRenderPass |
Defines the positions and colors of points in a point batch. The points are rendered in the primitive's Reference Frame. renderPassHint is provided for efficiency. |
Public Properties
CentralBodyClipped |
Gets or sets whether individual points will be clipped by the central body. |
DisplayOutline |
Gets or sets whether an outline is rendered around each point in the batch. |
DistanceDisplayConditionPerPoint |
Gets or sets a Distance Display
Condition that is evaluated per point in the point batch during
rendering. This is different than Display Condition, which is
evaluated once for the entire point batch. When
DistanceDisplayConditionPerPoint is null,
no per point display condition is evaluated. |
MaximumPixelSizeSupported |
Gets the maximum pixel size supported by the video card. |
MinimumPixelSizeSupported |
Gets the minimum pixel size supported by the video card. |
OutlineColor |
Gets or sets the outline's color. |
OutlineTranslucency |
Gets or sets the
translucency of the outline. Translucency is between 0
and 1, where 0 is opaque and
1 is transparent. |
OutlineWidth |
Gets or sets the size, in pixels, of the outline around each point in the batch. |
PerItemPickingEnabled |
Gets or sets whether
individual point indices will be included in the PickResults returned from the
Scene's Pick method. Each
point index that is picked will be returned as a BatchPrimitiveIndex. |
PixelSize |
Gets or sets the size, in pixels, of each point in the point batch. |
SetHint |
Gets the primitive's Set Hint. See the Set Hint Performance Overview for selecting an appropriate value to construct the primitive with. |
Example
Draw a set of points
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Draw a set of
uniquely colored points
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Draw a set of points
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||
Draw a set of
uniquely colored points
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||
Draw a Point
Primitive and set properties
| [MATLAB] | Copy Code
|
|
|---|---|---|
|
||


~443.gif)