SceneManager:AddSceneObject
From Data Realms Wiki
Revision as of 00:48, 28 June 2012 by Beautifybot (Talk | contribs)
Function | |
---|---|
Syntax | AddSceneObject( * The SceneObject to add. Ownership IS transferred! ) |
Description: | |
Takes any scene object and adds it to the scene in the appropriate way. If it's a TerrainObject, then it gets applied to the terrain, if it's an MO, it gets added to the correct type group in MovableMan. | |
Returns | Whether the SceneObject was successfully added or not. Either way, ownership was transferred. If no success, the object was deleted. |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |