AssimpLibraryGetMaterialFloatArray Method |
Retrieves an array of float 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 float[] GetMaterialFloatArray(
ref AiMaterial mat,
string key,
TextureType texType,
uint texIndex,
uint floatCount
)
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
- floatCount UInt32
- The maximum number of floats 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 floats, then only the requested number is returned (e.g. 1 or 2 out of a 4 float array).
Return Value
SingleThe float array, if it exists
See Also