# GetObjectMeshSizeMaxZ

## Description

Returns the maximum extent of the mesh in the Z direction, this can be combined with GetObjectMeshSizeMinZ to determine the size of the mesh in the Z direction. Note that the mesh may be off center so its min value may be 10 whilst its max value is 12, meaning its size is 2 units in the Z direction.

## Definition

float GetObjectMeshSizeMaxZ( objID, meshIndex )

float agk::GetObjectMeshSizeMaxZ( UINT objID, UINT meshIndex )

## Parameters

- objID - The ID of the object to check.
- meshIndex - The index of the mesh to check.