Click or drag to resize

Meshes Methods

The Meshes type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateBox
Creates a box.
Public methodStatic memberCreateCylinder
Creates a cylinder.
Public methodStatic memberCreatePrimitive
Creates a primitive mesh without colliders and attaches it to the model.
Public methodStatic memberCreatePrimitiveWithCollider
Creates a primitive and attaches it to the model.
Public methodStatic memberCreateSphere
Creates an ideal sphere.
Public methodStatic memberRescaleTextureToLength
Rescales texture so what one sample covers exactly one unit of the primitive length.
Public methodStatic memberTranslateMesh
Translates meshes' vertices.
Public methodStatic memberUpdateMaterials
Sets the specified values to material of all the child renderers in the parent's object.
Top
See Also