Clutter.Vertex¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
x |
r/w |
X coordinate of the vertex |
|
y |
r/w |
Y coordinate of the vertex |
|
z |
r/w |
Z coordinate of the vertex |
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
Details¶
- class Clutter.Vertex¶
A point in 3D space, expressed in pixels
New in version 0.4.
- classmethod alloc()¶
- Returns:
the newly allocated
Clutter.Vertex. UseClutter.Vertex.free() to free its resources- Return type:
Allocates a new, empty
Clutter.Vertex.New in version 1.12.
- classmethod new(x, y, z)¶
- Parameters:
- Returns:
the newly allocated
Clutter.Vertex. UseClutter.Vertex.free() to free the resources- Return type:
Creates a new
Clutter.Vertexfor the point in 3D space identified by the 3 coordinates x, y, z.This function is the logical equivalent of:
clutter_vertex_init (clutter_vertex_alloc (), x, y, z);New in version 1.0.
- copy()¶
- Returns:
a newly allocated copy of
Clutter.Vertex. UseClutter.Vertex.free() to free the allocated resources- Return type:
Copies self
New in version 1.0.
- equal(vertex_b)¶
- Parameters:
vertex_b (
Clutter.Vertex) – aClutter.Vertex- Returns:
Trueif the passedClutter.Vertexare equal- Return type:
Compares self and vertex_b for equality
New in version 1.0.
- free()¶
Frees a
Clutter.Vertexallocated usingClutter.Vertex.alloc() orClutter.Vertex.copy().New in version 1.0.
- init(x, y, z)¶
- Parameters:
- Returns:
the initialized
Clutter.Vertex- Return type:
Initializes self with the given coordinates.
New in version 1.10.