ImageGear for .NET
Init Method
See Also  Send Feedback
ImageGear21.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorEntityGeometry Class : Init Method




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.

Glossary Item Box

Initializes the geometry with the geometry type, point count, color alignment and flags of using colors and normals.

Syntax

 
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.

Remarks

This method must be called before any other geometry properties and methods.

See Also

©2013. Accusoft Corporation. All Rights Reserved.