A scene represents a captured image of a scene graph through its viewing camera.
More...
|
EOAPI void | evas_canvas3d_scene_root_node_set (Eo *obj, Evas_Canvas3D_Node *node) |
| Set the root node of a scene. More...
|
|
EOAPI Evas_Canvas3D_Node * | evas_canvas3d_scene_root_node_get (const Eo *obj) |
| Get the root node of a scene. More...
|
|
EOAPI void | evas_canvas3d_scene_camera_node_set (Eo *obj, Evas_Canvas3D_Node *node) |
| Set the camera node of a scene. More...
|
|
EOAPI Evas_Canvas3D_Node * | evas_canvas3d_scene_camera_node_get (const Eo *obj) |
| Get the camera node of a scene. More...
|
|
EOAPI void | evas_canvas3d_scene_shadows_depth_set (Eo *obj, Evas_Real depth_offset, Evas_Real depth_constant) |
| Set scale and units used to calculate depth values. More...
|
|
EOAPI void | evas_canvas3d_scene_shadows_depth_get (const Eo *obj, Evas_Real *depth_offset, Evas_Real *depth_constant) |
| Get scale and units used to calculate depth values. More...
|
|
EOAPI void | evas_canvas3d_scene_size_set (Eo *obj, int w, int h) |
| Set the resolution of a scene. More...
|
|
EOAPI void | evas_canvas3d_scene_size_get (const Eo *obj, int *w, int *h) |
| Get the internal resolution of a scene. More...
|
|
EOAPI void | evas_canvas3d_scene_background_color_set (Eo *obj, Evas_Real r, Evas_Real g, Evas_Real b, Evas_Real a) |
| Set the background color of a scene. More...
|
|
EOAPI void | evas_canvas3d_scene_background_color_get (const Eo *obj, Evas_Real *r, Evas_Real *g, Evas_Real *b, Evas_Real *a) |
| Get the background color of a scene. More...
|
|
EOAPI Eina_Bool | evas_canvas3d_scene_pick (const Eo *obj, Evas_Real x, Evas_Real y, Evas_Canvas3D_Node **node, Evas_Canvas3D_Mesh **mesh, Evas_Real *s, Evas_Real *t) |
| Get information on the most front visible mesh for the given position. More...
|
|
EOAPI Evas_Canvas3D_Node * | evas_canvas3d_scene_exist (const Eo *obj, Evas_Real x, Evas_Real y, Evas_Canvas3D_Node *node) |
| Search given node in the given position. More...
|
|
EOAPI Eina_List * | evas_canvas3d_scene_pick_member_list_get (const Eo *obj, Evas_Real x, Evas_Real y) |
| Get list of the all root members from scene in the given position. More...
|
|
EOAPI void | evas_canvas3d_scene_shadows_enable_set (Eo *obj, Eina_Bool shadows_enabled) |
| Enable or disable shadows on given scene. More...
|
|
EOAPI Eina_Bool | evas_canvas3d_scene_shadows_enable_get (const Eo *obj) |
| Get shadows enabled status for given scene. More...
|
|
EOAPI Eina_Bool | evas_canvas3d_scene_color_pick_enable_get (const Eo *obj) |
| Get status of color picking of the scene.
|
|
EOAPI Eina_Bool | evas_canvas3d_scene_color_pick_enable_set (Eo *obj, Eina_Bool color_pick) |
| Set posibility color picking. More...
|
|
A scene represents a captured image of a scene graph through its viewing camera.
A scene can be set to an image object to be displayed on the Evas canvas by using evas_object_image_scene_set() function.
Set the background color of a scene.
Background color defines initial color of pixels before a scene is rendered. If you want to display a scene with background evas objects are still remaining as if it was the background, set the alpha term to 0.0.
Default background color is (0.0, 0.0, 0.0, 0.0).
- Parameters
-
[in] | r | Red component of the background color. |
[in] | g | Green component of the background color. |
[in] | b | Blue component of the background color. |
[in] | a | Alpha component of the background color. |
Get information on the most front visible mesh for the given position.
(x, y) is the screen coordinate of the given scene. That is, left-top is (0, 0) and right-bottom is (w, h) where (w, h) is the size of the scene. The texture coordinate is useful when using proxy texture source.
- Parameters
-
[in] | x | X coordinate of the picking position. |
[in] | y | Y coordinate of the picking position. |
[out] | node | Pointer to receive the node contains the picked mesh. |
[out] | mesh | Pointer to receive the picked mesh. |
[out] | s | Pointer to receive the texture "s" coordinate. |
[out] | t | Pointer to receive the texture "t" coordinate. |