v7.5
Updates the texture editor with your changes to the adjustment settings when the 'Live adjusting' option
is off. This is the scripting equivalent of clicking the Adjust button on the Unfold property editor.
The adjustment settings try to reduce the surface stretching caused by the unfolding process.
oBoolean = UnfoldAdjustUpdate( UnfoldProperty(s) ); |
Returns a Boolean reporting whether or not the command was successful.
Parameter | Type | Description |
---|---|---|
UnfoldProperty(s) | Property | The Unfold property to which you want to add the new cut(s). |
/* 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"); |