optimize(world,ratio)
reduces the number of faces in all IndexedFaceSet nodes of
world while trying to preserve the overall shape of these
nodes.
optimize(node,ratio)
reduces the number of faces in the geometry of node while trying to
preserve the overall shape of the node. If node is a grouping node, the
function optimizes all IndexedFaceSet children of that node.
Fraction of intended number of faces relative to the original number of faces,
specified as a real number. If ratio is less than 1, then it is
interpreted as a fraction of the resulting number of faces relative to the original
number of faces. If ratio is equal to 1, number of faces is
unchanged and only shared vertices are merged (gluing faces).
The optimize will be removed in a future
release. Instead, use sim3d classes and Simulation 3D blocks to
interface MATLAB® and Simulink® with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.
Thank you for your feedback!
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.