Meshes Class |
Namespace: KSPDev.ModelUtils
The Meshes type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateBox | Creates a box. | |
| CreateCylinder | Creates a cylinder. | |
| CreatePrimitive | Creates a primitive mesh without colliders and attaches it to the model. | |
| CreatePrimitiveWithCollider | Creates a primitive and attaches it to the model. | |
| CreateSphere | Creates an ideal sphere. | |
| RescaleTextureToLength |
Rescales texture so what one sample covers exactly one unit of the primitive length.
| |
| TranslateMesh | Translates meshes' vertices. | |
| UpdateMaterials |
Sets the specified values to material of all the child renderers in the parent's object.
|