RemoveObject

From SIMboxWiki
Revision as of 23:59, 7 June 2013 by Leslie Brown (talk | contribs) (Created page with '=== Description === The '''RemoveObject '''function removes an existing object from the scene. This causes the entire object hierarchy to be deleted. === Syntax === {| styl…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

The RemoveObject function removes an existing object from the scene. This causes the entire object hierarchy to be deleted.

Syntax

ZS_DECL ZsRET ZSAPI RemoveObject(

UINT nID
);

Parameters

UINT nID

[in] Object ID (handle).

Return Value

On success, zsOK (zero) is returned, otherwise an error code is returned.