vcanim.gif (8357 bytes)SAA_splineCreate
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SAA_splineCreate

Creates a spline.

set scene [SAA_AllocScene]

.

.

set type [SAA_AllocSplineType]

set closed 0 or 1

set nbCtrlVertices 32

set ctrlVertices [ SAA_AllocDVector $nbCtrlVertices]

set spline [SAA_AllocElem]


SAA_splineCreate  $scene $SAA_Constants(SAA_SPL_xxx) $closed $nbCtrlVertices $ctrlVertices $spline

type
Type of spline to create. Possible spline types are:
  • SAA_SPL_LINEAR
  • SAA_SPL_BEZIER
  • SAA_SPL_BSPLINE
  • SAA_SPL_CARDINAL
closed
Specifies whether the spine is closed (1) or open (0).
nbCtrlVertices

Number of control vertices in the spline.
ctrlVertices

Array of control vertices.
spline
Returns a new spline.

Return Value


Return correct usage if incorrect parameters are passed


SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.