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 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's verticies. |
![]() ![]() | UpdateMaterials |
Sets the specified values to material of all the child renderers in the parent's object.
|