NurbsSurface.ControlPoints operator

説明

NURBS サーフェイスの各ControlPointオブジェクトを含むControlPointCollectionを戻します。

C#構文

// get accessor

ControlPointCollection rtn = NurbsSurface.ControlPoints;

VBScript の例

set oObject = ActiveSceneRoot.AddGeometry("Sphere","NurbsSurface")

set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry

set oControlPoints = oNurbsSurfaceMesh.Surfaces(0).ControlPoints

for each oControlPoint in oControlPoints

	aPoint = oControlPoint.Array	

	LogMessage aPoint(0) &","& aPoint(1) &","& aPoint(2)  &","& aPoint(3) 

next