CreateSpline()

语法

Result = CreateSpline(#Spline)
概要
Creates a new spline. A spline doesn't exist physically in the 3D world, it is an virtual object which can be used for different purpose, like path-finding, smooth node moving (be sure to check NodeAnimation library for this as well) and more. To calculate the position of an intermediate point, see ComputeSpline().

参数

#Spline The number to identify the new spline. #PB_Any can be used to auto-generate this number.

返回值

Returns zero if the spline can't be created. If #PB_Any is used as '#Spline' parameter, the new spline number is returned.

参阅

FreeSpline(), ComputeSpline()

已支持操作系统

所有

<- CountSplinePoints() - Spline Index - FreeSpline() ->