AssimpLibraryGetMaterialProperty Method |
Retrieves a material property with the specific key from the material.
Namespace: Internal.Assimp.UnmanagedAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic AiMaterialProperty GetMaterialProperty(
ref AiMaterial mat,
string key,
TextureType texType,
uint texIndex
)
Parameters
- mat AiMaterial
- Material to retrieve the property from
- key String
- Ai mat key (base) name to search for
- texType TextureType
- Texture Type semantic, always zero for non-texture properties
- texIndex UInt32
- Texture index, always zero for non-texture properties
Return Value
AiMaterialPropertyThe material property, if found.
See Also