Previous Up Next

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

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