Go to the source code of this file.
Creates an empty scene object.
- Parameters
-
[out] | scene | The destination of the instantiated page view object. |
- Returns
-
Converts from an SUEntityRef to an SUSceneRef. This is essentially a downcast operation so the given SUEntityRef must be convertible to an SUSceneRef.
- Parameters
-
[in] | entity | The entity reference. |
- Returns
- The converted SUSceneRef if the downcast operation succeeds. If not, the returned reference will be invalid.
Retrieves the camera of a scene object.
- Parameters
-
[in] | scene | The scene object. |
[out] | camera | The camera object retrieved. |
- Returns
-
Retrieves the name of a scene object.
- Parameters
-
[in] | scene | The scene object. |
[out] | name | The name retrieved. |
- Returns
-
Retrieves the rendering options for the scene object.
- Parameters
-
[in] | scene | The scene object. |
[out] | options | The options retrieved. |
- Returns
-
SU_RESULT SUSceneGetUseCamera |
( |
SUSceneRef |
scene, |
|
|
bool * |
use_camera |
|
) |
| |
Retrieves the 'use camera' setting of a scene object.
- Parameters
-
[in] | scene | The scene object. |
[out] | use_camera | The setting retrieved. |
- Returns
-
Releases a scene object.
- Parameters
-
[in] | scene | The scene object. |
- Returns
-
SU_RESULT SUSceneSetName |
( |
SUSceneRef |
scene, |
|
|
const char * |
scene_name |
|
) |
| |
Sets the name of a scene object.
- Parameters
-
[in] | scene | The scene object. |
[in] | scene_name | The name of the scene object. Assumed to be UTF-8 encoded. |
- Returns
-
Converts from an SUSceneRef to an SUEntityRef. This is essentially an upcast operation.
- Parameters
-
[in] | scene | The given scene reference. |
- Returns
- The converted SUEntityRef if scene is a valid object. If not, the returned reference will be invalid.