Updates a subset of positions and/or colors
in a point batch.
[Visual Basic .NET] |
---|
Public Sub SetPartialWithColorsIndicesOrderAndRenderPass( _
ByRef Positions As System.Array, _
ByRef Colors As System.Array, _
ByRef Indices As System.Array, _
ByVal IndicesOrderHint As AgEStkGraphicsIndicesOrderHint, _
ByVal RenderPassHint As AgEStkGraphicsRenderPassHint _
)
|
[C#] |
---|
public void SetPartialWithColorsIndicesOrderAndRenderPass(
|
[Managed C++] |
---|
public: void SetPartialWithColorsIndicesOrderAndRenderPass(
|
[Java] |
---|
public setPartialWithColorsIndicesOrderAndRenderPass(
|
[Unmanaged C++] |
---|
public: HRESULT SetPartialWithColorsIndicesOrderAndRenderPass(
|
- Positions
- An array of new positions (in the order x, y, z) used to update a subset of positions in the point batch.
- Colors
- An array containing the numeric representation of the color
used to update a subset of colors in 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. - Indices
- An array of integers containing the indices into positions. A set of x, y, and z 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.
Shows the format of
the Positions, Colors and Indices parameters when updating a point
batch.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Positions, Colors and Indices parameters when updating a point
batch.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|