Class AiDefines
Static class that has a number of constants that are found in Assimp. These can be limits to configuration property default values. The constants are grouped according to their usage or where they're found in the Assimp include files.
Inherited Members
Namespace: SharpAssimp .Unmanaged
Assembly: SharpAssimp.dll
Syntax
public static class AiDefines
Fields
| Edit this page View SourceAI_DEBONE_THRESHOLD
Defines the deboning threshold.
Declaration
public const float AI_DEBONE_THRESHOLD = 1
Field Value
Type | Description |
---|---|
float |
AI_DEFAULT_MATERIAL_NAME
Defines the default color material.
Declaration
public const string AI_DEFAULT_MATERIAL_NAME = "DefaultMaterial"
Field Value
Type | Description |
---|---|
string |
AI_DEFAULT_TEXTURED_MATERIAL_NAME
Defines the default textured material (if the meshes have UV coords).
Declaration
public const string AI_DEFAULT_TEXTURED_MATERIAL_NAME = "TexturedDefaultMaterial"
Field Value
Type | Description |
---|---|
string |
AI_LBW_MAX_WEIGHTS
Default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS.
Declaration
public const int AI_LBW_MAX_WEIGHTS = 4
Field Value
Type | Description |
---|---|
int |
AI_MAX_BONE_WEIGHTS
Defines the maximum number of bone weights.
Declaration
public const int AI_MAX_BONE_WEIGHTS = 2147483647
Field Value
Type | Description |
---|---|
int |
AI_MAX_FACES
Defines the maximum number of faces per mesh.
Declaration
public const int AI_MAX_FACES = 2147483647
Field Value
Type | Description |
---|---|
int |
AI_MAX_FACE_INDICES
Defines the maximum number of indices per face (polygon).
Declaration
public const int AI_MAX_FACE_INDICES = 32767
Field Value
Type | Description |
---|---|
int |
AI_MAX_NUMBER_OF_COLOR_SETS
Defines the maximum number of vertex color sets per mesh.
Declaration
public const int AI_MAX_NUMBER_OF_COLOR_SETS = 8
Field Value
Type | Description |
---|---|
int |
AI_MAX_NUMBER_OF_TEXTURECOORDS
Defines the maximum number of texture coordinate sets (UV(W) channels) per mesh.
Declaration
public const int AI_MAX_NUMBER_OF_TEXTURECOORDS = 8
Field Value
Type | Description |
---|---|
int |
AI_MAX_VERTICES
Defines the maximum number of vertices per mesh.
Declaration
public const int AI_MAX_VERTICES = 2147483647
Field Value
Type | Description |
---|---|
int |
AI_SBBC_DEFAULT_MAX_BONES
Defines the default bone count limit.
Declaration
public const int AI_SBBC_DEFAULT_MAX_BONES = 60
Field Value
Type | Description |
---|---|
int |
AI_SLM_DEFAULT_MAX_TRIANGLES
Default value for AI_CONFIG_PP_SLM_TRIANGLE_LIMIT.
Declaration
public const int AI_SLM_DEFAULT_MAX_TRIANGLES = 1000000
Field Value
Type | Description |
---|---|
int |
AI_SLM_DEFAULT_MAX_VERTICES
Default value for AI_CONFIG_PP_SLM_VERTEX_LIMIT.
Declaration
public const int AI_SLM_DEFAULT_MAX_VERTICES = 1000000
Field Value
Type | Description |
---|---|
int |
AI_UVTRAFO_ALL
Default value for AI_CONFIG_PP_TUV_EVALUATE
Declaration
public const int AI_UVTRAFO_ALL = 7
Field Value
Type | Description |
---|---|
int |
MAX_LENGTH
Defines the maximum length of a string used in AiString.
Declaration
public const int MAX_LENGTH = 1024
Field Value
Type | Description |
---|---|
int |
PP_ICL_PTCACHE_SIZE
Default value for AI_CONFIG_PP_ICL_PTCACHE_SIZE.
Declaration
public const int PP_ICL_PTCACHE_SIZE = 12
Field Value
Type | Description |
---|---|
int |