The Evas_Canvas3D_Object structure is an abstract base for other Evas 3D objects (scenes, nodes, lights, meshes, textures, and materials) with reference counting and propagation of modifications via reference tracking. This permits, for example, when a scene object is modified (marked dirty), a number of image objects rendering that object to be notified to update themselves, without needing to call update functions manually.
◆ EVAS_CANVAS3D_OBJECT_EVENT_CLICKED
#define EVAS_CANVAS3D_OBJECT_EVENT_CLICKED (&(_EVAS_CANVAS3D_OBJECT_EVENT_CLICKED)) |
Clicked Event.
- Returns
- Evas_Canvas3D_Node *
◆ EVAS_CANVAS3D_OBJECT_EVENT_COLLISION
#define EVAS_CANVAS3D_OBJECT_EVENT_COLLISION (&(_EVAS_CANVAS3D_OBJECT_EVENT_COLLISION)) |
Collision Event.
- Returns
- Evas_Canvas3D_Node *
◆ evas_canvas3d_object_change()
EOAPI void evas_canvas3d_object_change |
( |
Eo * |
obj, |
|
|
Evas_Canvas3D_State |
state, |
|
|
Evas_Canvas3D_Object * |
ref |
|
) |
| |
Notify the object regarding its state change.
- Parameters
-
[in] | obj | The object. |
[in] | state | State that is changed. |
[in] | ref | The Object that caused the change. |
◆ evas_canvas3d_object_type_get()
EOAPI Evas_Canvas3D_Object_Type evas_canvas3d_object_type_get |
( |
const Eo * |
obj | ) |
|
Returns the type of the object.
- Parameters
-
- Returns
- Object type
◆ evas_canvas3d_object_type_set()
EOAPI void evas_canvas3d_object_type_set |
( |
Eo * |
obj, |
|
|
Evas_Canvas3D_Object_Type |
type |
|
) |
| |
Sets the type of the object.
- Parameters
-
[in] | obj | The object. |
[in] | type | Object type |
◆ evas_canvas3d_object_dirty_get()
EOAPI Eina_Bool evas_canvas3d_object_dirty_get |
( |
const Eo * |
obj, |
|
|
Evas_Canvas3D_State |
state |
|
) |
| |
Returns the status of a particular state of the object.
- Parameters
-
[in] | obj | The object. |
[in] | state | State whose status is being asked. |
- Returns
true
if the status is dirty, false
otherwise
◆ evas_canvas3d_object_update_notify()
EOAPI void evas_canvas3d_object_update_notify |
( |
Eo * |
obj | ) |
|
Pure virtual update_notify function.
Update request for the object.
- Parameters
-
◆ evas_canvas3d_object_change_notify()
EOAPI void evas_canvas3d_object_change_notify |
( |
Eo * |
obj, |
|
|
Evas_Canvas3D_State |
state, |
|
|
Evas_Canvas3D_Object * |
ref |
|
) |
| |
Pure virtual change_notify function.
Update request for the object.
- Parameters
-
[in] | obj | The object. |
[in] | state | State that is changed. |
[in] | ref | The Object that caused the change. |
◆ evas_canvas3d_object_callback_register()
EOAPI void evas_canvas3d_object_callback_register |
( |
Eo * |
obj, |
|
|
const char * |
event, |
|
|
const void * |
data |
|
) |
| |
Pure virtual register samrt callback function.
- Parameters
-
[in] | obj | The object. |
[in] | event | Event type. |
[in] | data | User data. |
◆ evas_canvas3d_object_callback_unregister()
EOAPI void evas_canvas3d_object_callback_unregister |
( |
Eo * |
obj, |
|
|
const char * |
event |
|
) |
| |
Pure virtual unregister smart callback function.
- Parameters
-
[in] | obj | The object. |
[in] | event | Event type. |