# GetObjectNumMeshes

## Description

Gets the number of meshes that belong to this object. An object can have multiple meshes, usually this happens in the case of multi-material objects where the object is split into multiple meshes, each using a different texture. Note that instanced objects may not have any meshes.

## Definition

integer GetObjectNumMeshes( objID )

UINT agk::GetObjectNumMeshes( UINT objID )

## Parameters

- objID - The ID of the object to check.