Table of Contents | ||||
|
||||
InScene | ||||
Purpose Determines whether the given object is included in the given scene |
||||
Protoype bool CSceneMngr::InScene (string str_name, string str_scene = "") |
||||
Parameters
|
||||
Description If you don't know for sure whether or not an object has been added to a scene, you can use this function to find out. It will return TRUE if the object is found in the scene, and FALSE if it is not. If you want to look into the currently loaded scene rather than a specific scene, you can leave off the last parameter.
|
||||
Use CSceneMngr scene; // is our text object there? if (scene.InScene("my_text", "my_scene")) // yes it is! |
||||
|
||||
|