Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMatrix |
Struct : | Matrix |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_padding3 : Number
|
Cogl.Matrix | |
flags : Number
|
Cogl.Matrix | |
inv : Array
|
Cogl.Matrix | |
type : Number
|
Cogl.Matrix | |
ww : Number
|
Cogl.Matrix | |
wx : Number
|
Cogl.Matrix | |
wy : Number
|
Cogl.Matrix | |
wz : Number
|
Cogl.Matrix | |
xw : Number
|
Cogl.Matrix | |
xx : Number
|
Cogl.Matrix | |
xy : Number
|
Cogl.Matrix | |
xz : Number
|
Cogl.Matrix | |
yw : Number
|
Cogl.Matrix | |
yx : Number
|
Cogl.Matrix | |
yy : Number
|
Cogl.Matrix | |
yz : Number
|
Cogl.Matrix | |
zw : Number
|
Cogl.Matrix | |
zx : Number
|
Cogl.Matrix | |
zy : Number
|
Cogl.Matrix | |
zz : Number
|
Cogl.Matrix |
Method / Constructor | Defined By | |
---|---|---|
new Cogl.Matrix
()
Create a new Cogl.Matrix
Create a new Cogl.Matrix
|
||
Multiplies matrix by the given frustum perspective matrix.
|
Cogl.Matrix | |
get_array
()
:
Number
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.
|
Cogl.Matrix | |
init_from_array
()
:
Number
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
Multiplies matrix by the described perspective matrix
|
Cogl.Matrix | |
Multiplies matrix with a rotation matrix that applies a rotation of angle degrees around the specified 3D vector.
|
Cogl.Matrix | |
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 | |
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 |
This function lets you set a matrix that can be used to e.g.
|
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.
|