|
Tizen Native API
5.5
|
The Evas_Canvas3D_Primitive structure defines the data for generating meshes for various types of primitive shapes such as cubes, cylinders, spheres, surfaces, terrain, etc. Use the evas_canvas3d_mesh_from_primitive_set() function to generate a mesh's frame of this primitive.
Typedefs | |
| typedef void( | Evas_Canvas3D_Surface_Func )(Evas_Real *out_x, Evas_Real *out_y, Evas_Real *out_z, Evas_Real a, Evas_Real b) |
The Evas_Canvas3D_Surface_Func type of functions are used to create parametric surfaces as primitives. These compute the vertex x,y,z values for given v,u values.
| out_x | The x component of the calculated value. |
| out_y | The y component of the calculated value. |
| out_z | The z component of the calculated value. |
| a | is the v value. |
| b | is the u value. |