Click or drag to resize

AssimpLibraryGetMaterialProperty Method

Retrieves a material property with the specific key from the material.

Namespace: Internal.Assimp.Unmanaged
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public 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

AiMaterialProperty
The material property, if found.
See Also