This function moves the entity according to the specified offsets.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_ent_move( HIG_VECT_ENTITY hEntity, VECT_REAL fX, VECT_REAL fY, VECT_REAL fZ, VECT_BOOL bBefore ); |
Name | Type | Description |
---|---|---|
hEntity | HIG_VECT_ENTITY | Handle of the entity to be moved. |
fX | VECT_REAL | Offset in X direction, in World coordinates. |
fY | VECT_REAL | Offset in Y direction, in World coordinates. |
fZ | VECT_REAL | Offset in Z direction, in World coordinates. |
bBefore | VECT_BOOL | Specifies how the translation matrix is multiplied by the entity's transformation matrix. TRUE means right multiplication; FALSE means left multiplication. |
This function does not process image pixels.
Vector
This function creates a translation matrix using fX, fY, and fZ offsets and multiplies it by the correct entity matrix according to the bBefore flag.