SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
scene.h
Go to the documentation of this file.
1 // Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2 
3 #ifndef SLAPI_MODEL_SCENE_H_
4 #define SLAPI_MODEL_SCENE_H_
5 
6 #include <slapi/slapi.h>
7 #include <slapi/unicodestring.h>
8 #include <slapi/model/defs.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
28 SU_EXPORT SUEntityRef SUSceneToEntity(SUSceneRef scene);
29 
39 SU_EXPORT SUSceneRef SUSceneFromEntity(SUEntityRef entity);
40 
48 SU_RESULT SUSceneCreate(SUSceneRef* scene);
49 
58 SU_RESULT SUSceneRelease(SUSceneRef* scene);
59 
69 SU_RESULT SUSceneGetUseCamera(SUSceneRef scene, bool* use_camera);
70 
80 SU_RESULT SUSceneGetCamera(SUSceneRef scene, SUCameraRef* camera);
81 
93 SU_RESULT SUSceneGetName(SUSceneRef scene, SUStringRef* name);
94 
104 SU_RESULT SUSceneSetName(SUSceneRef scene, const char* scene_name);
105 
116 SU_RESULT SUSceneGetRenderingOptions(SUSceneRef scene,
117  SURenderingOptionsRef* options);
118 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif // SLAPI_MODEL_SCENE_H_