Ai |
public static class AiMatKeys
The AiMatKeys type exposes the following members.
| Name | Description | |
|---|---|---|
| GetBaseName |
Helper function to get the base name from a fully qualified name of a material property type name. The format
of such a string is:
"baseName,TextureType,texIndex" | |
| GetFullTextureName |
Helper function to get the fully qualified name of a texture property type name. Takes
in a base name constant, a texture type, and a texture index and outputs the name in the format:
"baseName,TextureType,texIndex" |
| Name | Description | |
|---|---|---|
| BLEND_FUNC | Blending function (BlendMode) | |
| BLEND_FUNC_BASE | Blending function (BlendMode) | |
| BUMPSCALING | Bumpscaling (float) | |
| BUMPSCALING_BASE | Bumpscaling (float) | |
| COLOR_AMBIENT | Ambient color (Vector4) | |
| COLOR_AMBIENT_BASE | Ambient color (Vector4) | |
| COLOR_DIFFUSE | Diffuse color (Vector4) | |
| COLOR_DIFFUSE_BASE | Diffuse color (Vector4) | |
| COLOR_EMISSIVE | Emissive color (Vector4) | |
| COLOR_EMISSIVE_BASE | Emissive color (Vector4) | |
| COLOR_REFLECTIVE | Reflective color (Vector4) | |
| COLOR_REFLECTIVE_BASE | Reflective color (Vector4) | |
| COLOR_SPECULAR | Specular color (Vector4) | |
| COLOR_SPECULAR_BASE | Specular color (Vector4) | |
| COLOR_TRANSPARENT | Transparent color (Vector4) | |
| COLOR_TRANSPARENT_BASE | Transparent color (Vector4) | |
| ENABLE_WIREFRAME | Enable wireframe property (boolean) | |
| ENABLE_WIREFRAME_BASE | Enable wireframe property (boolean) | |
| GLOBAL_BACKGROUND_IMAGE | Background image (String) | |
| GLOBAL_BACKGROUND_IMAGE_BASE | Background image (String) | |
| GLOBAL_SHADERLANG | Shader language type (string) | |
| GLOBAL_SHADERLANG_BASE | Shader language type (string) | |
| MAPPING_BASE | Mapping base name | |
| MAPPINGMODE_U_BASE | Mapping mode U base name | |
| MAPPINGMODE_V_BASE | Mapping mode V base name | |
| NAME | Material name (String) | |
| NAME_BASE | Material name (String) | |
| OPACITY | Opacity (float) | |
| OPACITY_BASE | Opacity (float) | |
| REFLECTIVITY | Reflectivity (float) | |
| REFLECTIVITY_BASE | Reflectivity (float) | |
| REFRACTI | Refracti (float) | |
| REFRACTI_BASE | Refracti (float) | |
| SHADER_COMPUTE | Compute shader source code (string) | |
| SHADER_COMPUTE_BASE | Compute shader source code (string) | |
| SHADER_FRAGMENT | Fragment/Pixel shader source code (string) | |
| SHADER_FRAGMENT_BASE | Fragment/Pixel shader source code (string) | |
| SHADER_GEO | Geometry shader source code (string) | |
| SHADER_GEO_BASE | Geometry shader source code (string) | |
| SHADER_PRIMITIVE | Primitive/Domain shader source code (string) | |
| SHADER_PRIMITIVE_BASE | Primitive/Domain shader source code (string) | |
| SHADER_TESSELATION | Tesselation shader source code (string) | |
| SHADER_TESSELATION_BASE | Tesselation shader source code (string) | |
| SHADER_VERTEX | Vertex shader source code (string) | |
| SHADER_VERTEX_BASE | Vertex shader source code (string) | |
| SHADING_MODEL | Shading mode property (ShadingMode) | |
| SHADING_MODEL_BASE | Shading mode property (ShadingMode) | |
| SHININESS | Shininess (float) | |
| SHININESS_BASE | Shininess (float) | |
| SHININESS_STRENGTH | Shininess strength (float) | |
| SHININESS_STRENGTH_BASE | Shininess strength (float) | |
| TEXBLEND_BASE | Texture blend base name. | |
| TEXFLAGS_BASE | Texture flags base name | |
| TEXMAP_AXIS_BASE | Texture map axis base name | |
| TEXOP_BASE | Texture op base name | |
| TEXTURE_BASE | Texture base name | |
| TRANSPARENCYFACTOR | Transparency Factor (float) | |
| TRANSPARENCYFACTOR_BASE | Transparency Factor (float) | |
| TWOSIDED | Two sided property (boolean) | |
| TWOSIDED_BASE | Two sided property (boolean) | |
| UVTRANSFORM_BASE | UV transform base name | |
| UVWSRC_BASE | UVWSRC base name |