ILNumerics Ultimate VS

ShapeGetPrimitiveCount Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Get the number of basic primitives which are configured for this shape

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public virtual long GetPrimitiveCount()

Return Value

Type: Int64
number of basic primitives
Remarks

The number of basic primitives returned depend on several factors, like
  • The existence of an index buffer and its size
  • The shape type (lines, line strip, triangles, -strip or -fan, etc.)
This function returns the number of basic primitives defined - regardless of how many of them will later really be drawn. Hence, clipping is not considered here.

[ILNumerics Visualization Engine]

See Also

Reference