{{warning|msg= The Vertex count on the mesh generated by this component increases exponentially with respect to the value in <code>Subdivisions</code> — Please use caution when using larger values}}
{{Note|The Vertex count on the mesh generated by this component increases exponentially with respect to the value in <code>Subdivisions</code> — Please use caution when using larger values|danger}}
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=IcoSphereMeshComponent.png
|Image=IcoSphereMeshComponent.png
|Name=IcoSphereMesh
|Name=IcoSphereMesh
}}
}}
== Intoduction ==
== Introduction ==
The '''IcoSphereMesh''' component procedurally generates a icosahedron mesh for use with a MeshRenderer, according to the parameters provided.
The '''IcoSphereMesh''' component procedurally generates a icosahedron mesh for use with a MeshRenderer, according to the parameters provided.
== Usage ==
== Usage ==
Revision as of 17:21, 14 February 2024
The Vertex count on the mesh generated by this component increases exponentially with respect to the value in Subdivisions — Please use caution when using larger values
Scale of individual faces, relative to their base size.
Behavior
Template:Warning The vertex count on a generated IcoSphereMesh is 20×4n, where n is Subdivisions — this may result in extremely large vertex counts for seemingly small values of Subdivisions — Please use caution!
As of Version 2020.10.25.1103, this value is clamped in the range [0,8] to prevent accidentally creating a mesh with an excessive number of vertices.