Assimp
v4.1. (December 2018)
|
Enumerates the types of geometric primitives supported by Assimp. More...
Static Public Member Functions | |
static void | fromRawValue (Set< AiPrimitiveType > set, int rawValue) |
Utility method for converting from c/c++ based integer enums to java enums. More... | |
Public Attributes | |
LINE =(0x2) | |
A line primitive. More... | |
POINT =(0x1) | |
A point primitive. More... | |
POLYGON =(0x8) | |
A higher-level polygon with more than 3 edges. More... | |
TRIANGLE =(0x4) | |
A triangular primitive. More... | |
Enumerates the types of geometric primitives supported by Assimp.
|
inlinestatic |
Utility method for converting from c/c++ based integer enums to java enums.
This method is intended to be used from JNI and my change based on implementation needs.
set | the target set to fill |
rawValue | an integer based enum value (as defined by assimp) |
jassimp.AiPrimitiveType.LINE =(0x2) |
A line primitive.
jassimp.AiPrimitiveType.POINT =(0x1) |
A point primitive.
jassimp.AiPrimitiveType.POLYGON =(0x8) |
A higher-level polygon with more than 3 edges.
A triangle is a polygon, but polygon in this context means "all polygons that are not triangles". The "Triangulate"-Step is provided for your convenience, it splits all polygons in triangles (which are much easier to handle).
jassimp.AiPrimitiveType.TRIANGLE =(0x4) |
A triangular primitive.