RemoveObject

From SIMboxWiki
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.