Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sets the position for a vertex.

Arguments

  • positionIndex

...

  • Must be between 0 and GetNumPositions() - 1. The number of vertices is specified when the mesh is created and cannot be changed afterwards.

stepIndex

Return values
  • stepIndex Relevant when motion blur is enabled. Specify 0 for the initial position or 1 for the final position (Maxwell currently supports only two deformation steps). The number of deformation steps is defined when the mesh is created.

Return values

 

Sets the position for a vertex. The positionIndex argument must be between 0 and GetNumPositions() - 1. The number of vertices is specified when the mesh is created and cannot be changed afterwards. The stepIndex argument is relevant when motion blur is enabled. Specify 0 for the initial position or 1 for the final position (Maxwell currently supports only two deformation steps). The number of deformation steps is defined when the mesh is created. In Python, the position argument can be any object which has x, y and z floating point members.

...