AssimpLibraryGetMaterialIntegerArray Method |
Retrieves an array of integer values 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 int[] GetMaterialIntegerArray(
ref AiMaterial mat,
string key,
TextureType texType,
uint texIndex,
uint intCount
)
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
- intCount UInt32
- The maximum number of integers to read. This may not accurately describe the data returned, as it may not exist or be smaller. If this value is less than
the available integers, then only the requested number is returned (e.g. 1 or 2 out of a 4 float array).
Return Value
Int32The integer array, if it exists
See Also