Defines the positions, colors, and optional parameters of points in a point batch. The points are rendered in the primitive's Reference Frame. renderPassHint is provided for efficiency.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
|
| [Managed C++] |
|---|
|
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
|
[Python - STK API ] |
|---|
def SetWithOptionalParameters(self, Positions:list, Colors:list, OptionalParameters:"IAgStkGraphicsPointBatchPrimitiveOptionalParameters", RenderPassHint:"AgEStkGraphicsRenderPassHint") -> None: |
- Positions
- An array containing new positions (in the order x, y, z) for the point batch.
- 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
ToArgbmethod and casting the result as an unsigned integer. - OptionalParameters
- Optional parameters for the point batch
- RenderPassHint
Calling this method with a renderPassHint of Unknown is equivalent to calling Set with just positions and colors. When a more specific renderPassHint is used, this method can be more efficient.
See Set for a full discussion.






