DecreaseSubdivision

導入

v2.0

カテゴリ

property

詳細

ジオメトリ アプロクシメーション プロパティを変更することによって、指定されたオブジェクトのサブディビジョン レベルを低くします。

スクリプト構文

DecreaseSubdivision( [InputObjs] );

パラメータ

パラメータ タイプ 詳細
InputObjs 文字列 変更するジオメトリック プリミティブ(ポリゴン メッシュ、カーブ、NURBS サーフェイス、ヘア オブジェクトなど)のリスト

デフォルト値: 現在選択されている値

JScript の例

/*
        This example creates a NURBS sphere and a polygon mesh cube,
        and then increases the subdivision levels on the two objects.
        Finally, the subdivision level is decreased for the sphere.
*/
NewScene( null, false );
// Create a NURBS sphere and polygon mesh cube
var oSphere = CreatePrim( "Sphere", "NurbsSurface", "MySphere" );
var oCube = CreatePrim( "Cube", "MeshSurface", "MyCube" );
// Increase the subdivision for both objects
IncreaseSubdivision( oSphere + "," + oCube );
// Decrease the subdivision for the sphere
DecreaseSubdivision( oSphere );

関連項目

IncreaseSubdivision