ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_set_matrix |
This function replaces the entity's 4x4 transformation matrix with the new one.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_ent_set_matrix( HIG_VECT_ENTITY hEntity, VECT_REAL* lpMat ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Handle of the entity which matrix is retrieved. |
lpMat | VECT_REAL* | Memory buffer containing the new matrix. See Remarks. |
This function does not process image pixels.
None
lpMat must point to an array of 16 VECT_REAL values, for example:
VECT_REAL lpMat[16].
The matrix uses column-major order, as accepted in OpenGL and Direct3D. |