GetObjectName

From SIMboxWiki
Revision as of 00:19, 8 June 2013 by Leslie Brown (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Use the function GetObjectName to get the name of a specified object. The name is used only for annotation.

Syntax

ZS_DECL LPCSTR ZSAPI GetObjectName(UINT nID);

Parameters

UINT nID

[in] Handle to object.

Return Value

Pointer to null terminated string that contains the object name.

Remarks

The name of an object is typically taken from the model file name.