Click or drag to resize

AssimpLibraryGetMaterialString Method

Retrieves a string from the material property table.

Namespace: Internal.Assimp.Unmanaged
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public string GetMaterialString(
	ref AiMaterial mat,
	string key,
	TextureType texType,
	uint texIndex
)

Parameters

mat  AiMaterial
Material to retrieve the data 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

String
The string, if it exists. If not, an empty string is returned.
See Also