Project

General

Profile

Previous Up Next

M3morphVerticesF
Takes a topology or a mesh as a parameter.
Redefines the floating-point 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 floating-point values The interpolation coefficient is a floating-point value between 0.0 and 1.0.
The topology associated with the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3morphVerticesF (
S3d _session_
H3d _object_
[[F F F] r1] _pos1_
[[F F F] r1] _pos2_
F _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.