Message 1 of 3
GenerateSimplePrimitives called with nwEVertexProperty value != nwEVertexProperty.eNONE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
InwOaFragment3 define
void GenerateSimplePrimitives(nwEVertexProperty bits, InwSimplePrimitivesCB cb);
with cb a user callback called for each Triangle, Point, Line and SnapPoint of a geometry.
The first parameter, bits, seems to allow to specify which extra properties we want to get:
public enum nwEVertexProperty
{
eNONE = 0,
eNORMAL = 1,
eCOLOR = 2,
eTEX_COORD = 4
}
However, I can't find how to actually get these since there is no method for these in InwSimplePrimitivesCB
public interface InwSimplePrimitivesCB
{
void Triangle(InwSimpleVertex v1, InwSimpleVertex v2, nwSimpleVertex v3);
void Line(InwSimpleVertex v1, InwSimpleVertex v2);
void Point(InwSimpleVertex v1);
void SnapPoint(InwSimpleVertex v1);
}
And I can't find any "subclasses/extensions" of InwSimplePrimitivesCB.
What am I missing?
Or is it just not supported?
Note that no errors/exceptions are reported if calling with bits to include Normal or Color.
Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go