• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpAssimp
      • Animation
      • AnimationBehaviour
      • AnimationInterpolation
      • AssimpContext
      • AssimpException
      • BlendMode
      • Bone
      • BoundingBox
      • Camera
      • CompileFlags
      • ConsoleLogStream
      • DefaultLogStream
      • EmbeddedTexture
      • ExcludeComponent
      • ExportDataBlob
      • ExportFormatDescription
      • Face
      • FileIOMode
      • FileIOSystem
      • FreeNativeDelegate
      • IMarshalable<Managed, Native>
      • INativeCustomMarshaler
      • IOStream
      • IOSystem
      • ImporterDescription
      • ImporterFeatureFlags
      • Light
      • LightSourceType
      • LogStream
      • LoggingCallback
      • Material
      • Material.PBRMaterialProperties
      • Material.ShaderMaterialProperties
      • MaterialProperty
      • Matrix3x3
      • MemoryHelper
      • Mesh
      • MeshAnimationAttachment
      • MeshAnimationChannel
      • MeshKey
      • MeshMorphAnimationChannel
      • MeshMorphKey
      • MeshMorphingMethod
      • MetaDataType
      • Metadata
      • Metadata.Entry
      • NativeCustomMarshalerAttribute
      • Node
      • NodeAnimationChannel
      • NodeCollection
      • Origin
      • PostProcessPreset
      • PostProcessSteps
      • PrimitiveType
      • PropertyType
      • QuaternionKey
      • Ray
      • ReturnCode
      • Scene
      • SceneFlags
      • ShadingMode
      • Texel
      • TextureFlags
      • TextureMapping
      • TextureOperation
      • TextureSlot
      • TextureType
      • TextureWrapMode
      • UVTransform
      • UVTransformFlags
      • VectorKey
      • VertexWeight
    • SharpAssimp.Configs
      • ACEvaluateSubdivisionConfig
      • ACSeparateBackfaceCullConfig
      • ASEReconstructNormalsConfig
      • AnimationAccuracyConfig
      • AppScaleConfig
      • BooleanPropertyConfig
      • ColladaIgnoreUpDirectionConfig
      • ColladaUseColladaNamesConfig
      • DeboneAllOrNoneConfig
      • DeboneThresholdConfig
      • ExportPointCloudsConfig
      • FBXConvertToMetersConfig
      • FBXImportAllGeometryLayersConfig
      • FBXImportAllMaterialsConfig
      • FBXImportAnimationsConfig
      • FBXImportCamerasConfig
      • FBXImportEmbeddedTexturesConfig
      • FBXImportEmbeddedTexturesLegacyNamingConfig
      • FBXImportLightsConfig
      • FBXImportMaterialsConfig
      • FBXOptimizeEmptyAnimationCurvesConfig
      • FBXPreservePivotsConfig
      • FBXStrictModeConfig
      • FavorSpeedConfig
      • FloatPropertyConfig
      • GlobalKeyFrameImportConfig
      • GlobalScaleConfig
      • IFCCylindricalTessellationConfig
      • IFCSkipSpaceRepresentationsConfig
      • IFCSmoothingAngleConfig
      • IFCUseCustomTriangulationConfig
      • IRRAnimationFrameRateConfig
      • IgnoreTextureCoordinatesConfig
      • IntegerPropertyConfig
      • KeepSceneHierarchyConfig
      • LWOImportOneLayerConfig
      • LWSAnimationEndConfig
      • LWSAnimationStartConfig
      • MD2KeyFrameImportConfig
      • MD3HandleMultiPartConfig
      • MD3KeyFrameImportConfig
      • MD3ShaderSourceConfig
      • MD3SkinNameConfig
      • MD5NoAnimationAutoLoadConfig
      • MDLColorMapConfig
      • MDLKeyFrameImportConfig
      • MaterialExcludeListConfig
      • MatrixPropertyConfig
      • MaxBoneCountConfig
      • MeasureTimeConfig
      • MeshTriangleLimitConfig
      • MeshVertexLimitConfig
      • MultithreadingConfig
      • NoSkeletonMeshesConfig
      • NodeExcludeListConfig
      • NormalSmoothingAngleConfig
      • NormalizeVertexComponentsConfig
      • OgreMaterialFileConfig
      • OgreTextureTypeFromFilenameConfig
      • PropertyConfig
      • RemoveComponentConfig
      • RemoveDegeneratePrimitivesCheckAreaConfig
      • RemoveDegeneratePrimitivesConfig
      • RemoveEmptyBonesConfig
      • RootTransformationConfig
      • SMDKeyFrameImportConfig
      • SmdLoadAnimationListConfig
      • SortByPrimitiveTypeConfig
      • StringPropertyConfig
      • TangentSmoothingAngleConfig
      • TangentTextureChannelIndexConfig
      • TerragenComputeTexCoordsConfig
      • TransformUVConfig
      • UnrealHandleFlagsConfig
      • UnrealKeyFrameImportConfig
      • VertexBoneWeightLimitConfig
      • VertexCacheSizeConfig
      • XFileUseDoublesConfig
    • SharpAssimp.Unmanaged
      • AiAnimMesh
      • AiAnimation
      • AiBone
      • AiCamera
      • AiConfigs
      • AiDefines
      • AiExportDataBlob
      • AiExportFormatDesc
      • AiFace
      • AiFile
      • AiFileCloseProc
      • AiFileFlushProc
      • AiFileIO
      • AiFileOpenProc
      • AiFileReadProc
      • AiFileSeek
      • AiFileTellProc
      • AiFileWriteProc
      • AiImporterDesc
      • AiLight
      • AiLogStream
      • AiLogStreamCallback
      • AiMatKeys
      • AiMaterial
      • AiMaterialProperty
      • AiMemoryInfo
      • AiMesh
      • AiMeshAnim
      • AiMeshColorArray
      • AiMeshMorphAnim
      • AiMeshMorphKey
      • AiMeshTextureCoordinateArray
      • AiMeshUVComponentArray
      • AiMetadata
      • AiMetadataEntry
      • AiNode
      • AiNodeAnim
      • AiScene
      • AiString
      • AiTexture
      • AssimpLibrary
      • Platform
      • UnmanagedFunctionNameAttribute
      • UnmanagedLibrary
      • UnmanagedLibraryResolver

    Class AiMatKeys

    Static class containing material key constants. A fully qualified mat key name here means that it's a string that combines the mat key (base) name, its texture type semantic, and its texture index into a single string delimited by commas. For non-texture material properties, the texture type semantic and texture index are always zero.

    Inheritance
    object
    AiMatKeys
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SharpAssimp.Unmanaged
    Assembly: SharpAssimp.dll
    Syntax
    public static class AiMatKeys

    Fields

    | Edit this page View Source

    BLEND_FUNC

    Blending function (BlendMode)

    Declaration
    public const string BLEND_FUNC = "$mat.blend,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    BLEND_FUNC_BASE

    Blending function (BlendMode)

    Declaration
    public const string BLEND_FUNC_BASE = "$mat.blend"
    Field Value
    Type Description
    string
    | Edit this page View Source

    BUMPSCALING

    Bumpscaling (float)

    Declaration
    public const string BUMPSCALING = "$mat.bumpscaling,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    BUMPSCALING_BASE

    Bumpscaling (float)

    Declaration
    public const string BUMPSCALING_BASE = "$mat.bumpscaling"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_AMBIENT

    Ambient color (Vector4)

    Declaration
    public const string COLOR_AMBIENT = "$clr.ambient,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_AMBIENT_BASE

    Ambient color (Vector4)

    Declaration
    public const string COLOR_AMBIENT_BASE = "$clr.ambient"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_DIFFUSE

    Diffuse color (Vector4)

    Declaration
    public const string COLOR_DIFFUSE = "$clr.diffuse,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_DIFFUSE_BASE

    Diffuse color (Vector4)

    Declaration
    public const string COLOR_DIFFUSE_BASE = "$clr.diffuse"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_EMISSIVE

    Emissive color (Vector4)

    Declaration
    public const string COLOR_EMISSIVE = "$clr.emissive,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_EMISSIVE_BASE

    Emissive color (Vector4)

    Declaration
    public const string COLOR_EMISSIVE_BASE = "$clr.emissive"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_REFLECTIVE

    Reflective color (Vector4)

    Declaration
    public const string COLOR_REFLECTIVE = "$clr.reflective,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_REFLECTIVE_BASE

    Reflective color (Vector4)

    Declaration
    public const string COLOR_REFLECTIVE_BASE = "$clr.reflective"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_SPECULAR

    Specular color (Vector4)

    Declaration
    public const string COLOR_SPECULAR = "$clr.specular,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_SPECULAR_BASE

    Specular color (Vector4)

    Declaration
    public const string COLOR_SPECULAR_BASE = "$clr.specular"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_TRANSPARENT

    Transparent color (Vector4)

    Declaration
    public const string COLOR_TRANSPARENT = "$clr.transparent,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    COLOR_TRANSPARENT_BASE

    Transparent color (Vector4)

    Declaration
    public const string COLOR_TRANSPARENT_BASE = "$clr.transparent"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ENABLE_WIREFRAME

    Enable wireframe property (boolean)

    Declaration
    public const string ENABLE_WIREFRAME = "$mat.wireframe,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ENABLE_WIREFRAME_BASE

    Enable wireframe property (boolean)

    Declaration
    public const string ENABLE_WIREFRAME_BASE = "$mat.wireframe"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GLOBAL_BACKGROUND_IMAGE

    Background image (String)

    Declaration
    public const string GLOBAL_BACKGROUND_IMAGE = "?bg.global,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GLOBAL_BACKGROUND_IMAGE_BASE

    Background image (String)

    Declaration
    public const string GLOBAL_BACKGROUND_IMAGE_BASE = "?bg.global"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GLOBAL_SHADERLANG

    Shader language type (string)

    Declaration
    public const string GLOBAL_SHADERLANG = "?sh.lang,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GLOBAL_SHADERLANG_BASE

    Shader language type (string)

    Declaration
    public const string GLOBAL_SHADERLANG_BASE = "?sh.lang"
    Field Value
    Type Description
    string
    | Edit this page View Source

    MAPPINGMODE_U_BASE

    Mapping mode U base name

    Declaration
    public const string MAPPINGMODE_U_BASE = "$tex.mapmodeu"
    Field Value
    Type Description
    string
    | Edit this page View Source

    MAPPINGMODE_V_BASE

    Mapping mode V base name

    Declaration
    public const string MAPPINGMODE_V_BASE = "$tex.mapmodev"
    Field Value
    Type Description
    string
    | Edit this page View Source

    MAPPING_BASE

    Mapping base name

    Declaration
    public const string MAPPING_BASE = "$tex.mapping"
    Field Value
    Type Description
    string
    | Edit this page View Source

    NAME

    Material name (String)

    Declaration
    public const string NAME = "?mat.name,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    NAME_BASE

    Material name (String)

    Declaration
    public const string NAME_BASE = "?mat.name"
    Field Value
    Type Description
    string
    | Edit this page View Source

    OPACITY

    Opacity (float)

    Declaration
    public const string OPACITY = "$mat.opacity,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    OPACITY_BASE

    Opacity (float)

    Declaration
    public const string OPACITY_BASE = "$mat.opacity"
    Field Value
    Type Description
    string
    | Edit this page View Source

    REFLECTIVITY

    Reflectivity (float)

    Declaration
    public const string REFLECTIVITY = "$mat.reflectivity,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    REFLECTIVITY_BASE

    Reflectivity (float)

    Declaration
    public const string REFLECTIVITY_BASE = "$mat.reflectivity"
    Field Value
    Type Description
    string
    | Edit this page View Source

    REFRACTI

    Refracti (float)

    Declaration
    public const string REFRACTI = "$mat.refracti,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    REFRACTI_BASE

    Refracti (float)

    Declaration
    public const string REFRACTI_BASE = "$mat.refracti"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_COMPUTE

    Compute shader source code (string)

    Declaration
    public const string SHADER_COMPUTE = "?sh.cs,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_COMPUTE_BASE

    Compute shader source code (string)

    Declaration
    public const string SHADER_COMPUTE_BASE = "?sh.cs"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_FRAGMENT

    Fragment/Pixel shader source code (string)

    Declaration
    public const string SHADER_FRAGMENT = "?sh.fs,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_FRAGMENT_BASE

    Fragment/Pixel shader source code (string)

    Declaration
    public const string SHADER_FRAGMENT_BASE = "?sh.fs"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_GEO

    Geometry shader source code (string)

    Declaration
    public const string SHADER_GEO = "?sh.gs,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_GEO_BASE

    Geometry shader source code (string)

    Declaration
    public const string SHADER_GEO_BASE = "?sh.gs"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_PRIMITIVE

    Primitive/Domain shader source code (string)

    Declaration
    public const string SHADER_PRIMITIVE = "?sh.ps,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_PRIMITIVE_BASE

    Primitive/Domain shader source code (string)

    Declaration
    public const string SHADER_PRIMITIVE_BASE = "?sh.ps"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_TESSELATION

    Tesselation shader source code (string)

    Declaration
    public const string SHADER_TESSELATION = "?sh.ts,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_TESSELATION_BASE

    Tesselation shader source code (string)

    Declaration
    public const string SHADER_TESSELATION_BASE = "?sh.ts"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_VERTEX

    Vertex shader source code (string)

    Declaration
    public const string SHADER_VERTEX = "?sh.vs,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADER_VERTEX_BASE

    Vertex shader source code (string)

    Declaration
    public const string SHADER_VERTEX_BASE = "?sh.vs"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADING_MODEL

    Shading mode property (ShadingMode)

    Declaration
    public const string SHADING_MODEL = "$mat.shadingm,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHADING_MODEL_BASE

    Shading mode property (ShadingMode)

    Declaration
    public const string SHADING_MODEL_BASE = "$mat.shadingm"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHININESS

    Shininess (float)

    Declaration
    public const string SHININESS = "$mat.shininess,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHININESS_BASE

    Shininess (float)

    Declaration
    public const string SHININESS_BASE = "$mat.shininess"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHININESS_STRENGTH

    Shininess strength (float)

    Declaration
    public const string SHININESS_STRENGTH = "$mat.shinpercent,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SHININESS_STRENGTH_BASE

    Shininess strength (float)

    Declaration
    public const string SHININESS_STRENGTH_BASE = "$mat.shinpercent"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TEXBLEND_BASE

    Texture blend base name.

    Declaration
    public const string TEXBLEND_BASE = "$tex.blend"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TEXFLAGS_BASE

    Texture flags base name

    Declaration
    public const string TEXFLAGS_BASE = "$tex.flags"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TEXMAP_AXIS_BASE

    Texture map axis base name

    Declaration
    public const string TEXMAP_AXIS_BASE = "$tex.mapaxis"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TEXOP_BASE

    Texture op base name

    Declaration
    public const string TEXOP_BASE = "$tex.op"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TEXTURE_BASE

    Texture base name

    Declaration
    public const string TEXTURE_BASE = "$tex.file"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TRANSPARENCYFACTOR

    Transparency Factor (float)

    Declaration
    public const string TRANSPARENCYFACTOR = "$mat.transparencyfactor,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TRANSPARENCYFACTOR_BASE

    Transparency Factor (float)

    Declaration
    public const string TRANSPARENCYFACTOR_BASE = "$mat.transparencyfactor"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TWOSIDED

    Two sided property (boolean)

    Declaration
    public const string TWOSIDED = "$mat.twosided,0,0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TWOSIDED_BASE

    Two sided property (boolean)

    Declaration
    public const string TWOSIDED_BASE = "$mat.twosided"
    Field Value
    Type Description
    string
    | Edit this page View Source

    UVTRANSFORM_BASE

    UV transform base name

    Declaration
    public const string UVTRANSFORM_BASE = "$tex.uvtrafo"
    Field Value
    Type Description
    string
    | Edit this page View Source

    UVWSRC_BASE

    UVWSRC base name

    Declaration
    public const string UVWSRC_BASE = "$tex.uvwsrc"
    Field Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetBaseName(string)

    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"

    Declaration
    public static string GetBaseName(string fullyQualifiedName)
    Parameters
    Type Name Description
    string fullyQualifiedName

    Fully qualified material property name.

    Returns
    Type Description
    string

    Base name of the property type.

    | Edit this page View Source

    GetFullTextureName(string, TextureType, int)

    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"

    Declaration
    public static string GetFullTextureName(string baseName, TextureType texType, int texIndex)
    Parameters
    Type Name Description
    string baseName

    Base name

    TextureType texType

    Texture type

    int texIndex

    Texture index

    Returns
    Type Description
    string

    Fully qualified texture name

    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2012-2020 Nicholas Woodfield, (c) 2024 Salvage, (c) 2025 Jérémy Ansel