Click or drag to resize

MaterialHasProperty(String, TextureType, Int32) Method

Checks if the material has the specified property. All the input parameters are combined into the fully qualified name: {baseName},{texType},{texIndex}. E.g. "$clr.diffuse,0,0" or "$tex.file,1,0".

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public bool HasProperty(
	string baseName,
	TextureType texType,
	int texIndex
)

Parameters

baseName  String
Key basename
texType  TextureType
Texture type; non-texture properties should leave this None
texIndex  Int32
Texture index; non-texture properties should leave this zero.

Return Value

Boolean
True if the property exists, false otherwise.
See Also