![]() | ![]() | ![]() | Gtk 3d Canvas (libgtk3dcanvas) Reference Manual | ![]() |
---|
#include <gtk-3dcanvas.h> struct Gtk3dcanvasBall; Gtk3dcanvasItem* gtk_3dcanvas_ball_new (Gtk3dcanvasGroup *parent, float x0, float y0, float z0, char *color, float radius, int smoothness);
"center-x" gfloat : Read / Write "center-y" gfloat : Read / Write "center-z" gfloat : Read / Write "radius" gfloat : Read / Write "smoothness" gint : Read / Write
This Gtk3dCanvasItem a plain regular ball. See the properties below to see how to interact with it.
struct Gtk3dcanvasBall;
The fields of the Gtk3dcanvasBall are private, and should be accessed only through the properties and functions below.
Gtk3dcanvasItem* gtk_3dcanvas_ball_new (Gtk3dcanvasGroup *parent, float x0, float y0, float z0, char *color, float radius, int smoothness);
Make a ball item.
parent : | group in which to add the ball |
x0 : | x of the center point |
y0 : | y of the center point |
z0 : | z of the center point |
color : | the color of the ball |
radius : | radius of the ball |
smoothness : | the bigger it is, the more point we will generate (10 is ok) |
Returns : | the newly created ball. |
"center-x" (gfloat : Read / Write) | |
"center-y" (gfloat : Read / Write) | |
"center-z" (gfloat : Read / Write) | |
"radius" (gfloat : Read / Write) | |
"smoothness" (gint : Read / Write) |
<<< Gtk3dcanvasItem | Gtk3dcanvasPyramid >>> |