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.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic 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
BooleanTrue if the property exists, false otherwise.
See Also