Project

General

Profile

Previous Up Next

M3morphVertices
Takes a topology or a mesh as a parameter.
Redefines the integer coordinates of the vertices for the topology referenced by the mesh.
The final values are the result of the interpolation between the two values given as parameters.
This function takes integer values. The interpolation coefficient is an integer value between 0 and 65535.
The topology associated with the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3morphVertices (
S3d _session_
H3d _object_
[[I I I] r1] _pos1_
[[I I I] r1] _pos2_
I _rate_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
_pos1_
List positions 1
_pos2_
List positions 2
_rate_
Interpolation rate
Return value

0 if successful, otherwise nil
Remark

In the case of a multi-topo mesh, only the active topology is concerned.