Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMatrix |
Struct : | Matrix |
Properties | Defined By | |
---|---|---|
_padding3 : guint32
read only
|
Cogl.Matrix | |
flags : guint32
read only
|
Cogl.Matrix | |
inv : Array
read only
|
Cogl.Matrix | |
type : guint32
read only
|
Cogl.Matrix | |
ww : gfloat
|
Cogl.Matrix | |
wx : gfloat
|
Cogl.Matrix | |
wy : gfloat
|
Cogl.Matrix | |
wz : gfloat
|
Cogl.Matrix | |
xw : gfloat
|
Cogl.Matrix | |
xx : gfloat
|
Cogl.Matrix | |
xy : gfloat
|
Cogl.Matrix | |
xz : gfloat
|
Cogl.Matrix | |
yw : gfloat
|
Cogl.Matrix | |
yx : gfloat
|
Cogl.Matrix | |
yy : gfloat
|
Cogl.Matrix | |
yz : gfloat
|
Cogl.Matrix | |
zw : gfloat
|
Cogl.Matrix | |
zx : gfloat
|
Cogl.Matrix | |
zy : gfloat
|
Cogl.Matrix | |
zz : gfloat
|
Cogl.Matrix |
Method / Constructor | Defined By | |
---|---|---|
new Cogl.Matrix
()
Create a new Cogl.Matrix
Create a new Cogl.Matrix
|
||
free
()
:
none
|
Cogl.Matrix | |
Multiplies matrix by the given frustum perspective matrix.
Multiplies matrix by the given frustum perspective matrix.
|
Cogl.Matrix | |
get_array
()
:
gfloat
Casts matrix to a float array which can be directly passed to OpenGL.
Casts matrix to a float array which can be directly passed to OpenGL.
|
Cogl.Matrix | |
Gets the inverse transform of a given matrix and uses it to initialize
a new CoglMatrix.
Gets the inverse transform of a given matrix and uses it to initialize
a new CoglMatrix. that the transform it represents isn't modified this function may technically save a copy of the inverse transform within the given CoglMatrix so that subsequent requests for the inverse transform may avoid costly inversion calculations. for degenerate transformations that can't be inverted (in this case the
|
Cogl.Matrix | |
init_from_array
(gfloat array)
:
none
Initializes matrix with the contents of array
Initializes matrix with the contents of array
|
Cogl.Matrix | |
init_identity
()
:
none
Resets matrix to the identity matrix:
|[ .xx=1; .xy=0; .xz=0; .xw=0; .yx=0; .yy=1; .yz=0; .yw=0; .zx=0; .zy=0; .zz=1; .zw=0; .wx=0; .wy=0; .wz=0; .ww=1; ]|
Resets matrix to the identity matrix:
|[ .xx=1; .xy=0; .xz=0; .xw=0; .yx=0; .yy=1; .yz=0; .yw=0; .zx=0; .zy=0; .zz=1; .zw=0; .wx=0; .wy=0; .wz=0; .ww=1; ]|
|
Cogl.Matrix | |
Multiplies the two supplied matrices together and stores
the resulting matrix inside result
Multiplies the two supplied matrices together and stores
the resulting matrix inside result
|
Cogl.Matrix | |
Multiplies matrix by a parallel projection matrix.
Multiplies matrix by a parallel projection matrix.
|
Cogl.Matrix | |
Multiplies matrix by the described perspective matrix
since that will reduce the effectiveness of depth testing since there wont be enough precision to identify the depth of objects near to each other.
Multiplies matrix by the described perspective matrix
since that will reduce the effectiveness of depth testing since there wont be enough precision to identify the depth of objects near to each other.
|
Cogl.Matrix | |
Multiplies matrix with a rotation matrix that applies a rotation
of angle degrees around the specified 3D vector.
Multiplies matrix with a rotation matrix that applies a rotation
of angle degrees around the specified 3D vector.
|
Cogl.Matrix | |
Multiplies matrix with a transform matrix that scales along the X,
Y and Z axis. |
Cogl.Matrix | |
Transforms a point whos position is given and returned as four float
components.
Transforms a point whos position is given and returned as four float
components.
|
Cogl.Matrix | |
Multiplies matrix with a transform matrix that translates along
the X, Y and Z axis.
Multiplies matrix with a transform matrix that translates along
the X, Y and Z axis.
|
Cogl.Matrix |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Actor
Method |
get_transformation_matrix
()
:
Cogl.Matrix
Retrieves the transformations applied to self
|
Cogl
Method |
Cogl.get_modelview_matrix
()
:
Cogl.Matrix
Stores the current model-view matrix in matrix.
|
Cogl
Method |
Cogl.get_projection_matrix
()
:
Cogl.Matrix
Stores the current projection matrix in matrix.
|
Cogl
Method |
Cogl.set_modelview_matrix
(Matrix matrix)
:
none
Loads matrix as the new model-view matrix.
|
Cogl
Method |
Cogl.set_projection_matrix
(Matrix matrix)
:
none
Loads matrix as the new projection matrix.
|
Cogl
Method |
Cogl.transform
(Matrix matrix)
:
none
Multiplies the current model-view matrix by the given matrix.
|
Cogl.Material
Method |
This function lets you set a matrix that can be used to e.g.
|
Cogl.Pipeline
Method |
|