Previous Up Next

M3morphVertexF
Takes a topology or a mesh as a parameter.
Defines the floating-point position of vertex number '_index_' within the mesh’s local space by interpolation between the two positions, at the rate of '_rate_' (between 0.0 and 1.0).
The topology associated to the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3morphVertexF (
S3d _session_
H3d _object_
I _index_
[F F F] _pos1_
[F F F] _pos2_
F _rate_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
_index_
Vertex index
_pos1_
Position 1
_pos2_
Position 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.