Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- geometryType
- Type of the geometry primitives. See enumeration ImGearVectGeometryType enumeration for possible values.
- pointCount
- Count of vertices in the geometry. Point, normal and color arrays must have the same amount of elements in case of usage.
- colorAlignment
- Color alignment in the color array. Has effect only if
useColors
is true. - useNormals
- If true than the normals are taken into account when displaying the geometry. Normals must be set before displaying in this case.
- useColors
- If true then the local colors are taken into account when displaying the geometry. Colors must be set before displaying in this case.
This method must be called before any other geometry properties and methods.