Method GetObjectById
GetObjectById(int)
Retrieves an object of the scene which has a given id.
Declaration
public Scene.Object GetObjectById(int objectId)
Parameters
Type | Name | Description |
---|---|---|
int | objectId | Id of an object. |
Returns
Type | Description |
---|---|
Scene.Object | An object with given id. |
Exceptions
Type | Condition |
---|---|
Sdk2Exception | If object id is not valid. |