コレクションの特定方向におけるサイズを戻します。NurbsCurveの場合は、siUDirection を使用します。
Int32 ControlPointCollection.Dimension( siNurbsDirection in_newVal ); |
oInteger = ControlPointCollection.Dimension( Direction ); |
パラメータ | タイプ | 説明 |
---|---|---|
Direction | siNurbsDirection | サイズを求める方向 |
set oRoot = Application.ActiveProject.ActiveScene.Root set oGrid = oRoot.AddGeometry( "Grid","NurbsSurface") cUControlPoints = oGrid.ActivePrimitive.Geometry.Surfaces(0).ControlPoints.Dimension( siUDirection ) cVControlPoints = oGrid.ActivePrimitive.Geometry.Surfaces(0).ControlPoints.Dimension( siVDirection ) LogMessage "grid has UV dimensions of " & cUControlPoints & "x" & cVControlPoints |