v7.5
「ライブ調整」がオフのときに加えられた調整設定の変更に基づいて、Texture Editor を更新します。 このスクリプトは、[Unfold]プロパティ エディタの[調整]ボタンをクリックする操作と同じです。
調整設定では、処理の展開によって発生したサーフェイスの伸張の軽減が試みられます。
oBoolean = UnfoldAdjustUpdate( UnfoldProperty(s) ); |
コマンドが成功したかどうかをレポートするBooleanを戻します。
| パラメータ | タイプ | 説明 |
|---|---|---|
| UnfoldProperty(s) | Property | 新しいカットを追加する Unfold プロパティ |
/*
This example demonstrates how to invoke the adjustment settings for an Unfold property
*/
NewScene(null, false);
CreatePrim("Grid", "MeshSurface");
UnfoldApply("grid");
// Set the iteration number to 4 and then invoke adjustments
SetValue("grid.Unfold.Adjust_iterations", 4);
UnfoldAdjustUpdate("grid.Unfold");
// Set the iteration number to 2 and then re-invoke adjustments
SetValue("grid.Unfold.Adjust_iterations", 2);
UnfoldAdjustUpdate("grid.Unfold"); |