This class represents a lathed object created from a spline.
More...
|
| | LathedObject (List< Vector3 > spline, GameObject gameObject, int sections, Material mat, Mesh mesh, MeshFilter meshFilter) |
| | Main contructor. More...
|
| |
| | LathedObject (GameObject gameObject, int sections, Material mat, Mesh mesh, MeshFilter meshFilter) |
| | Standard contructor. (Only for testing) More...
|
| |
|
|
List< Vector3 > | spline |
| |
|
GameObject | gameObject |
| |
|
int | sections |
| |
|
Material | mat |
| |
This class represents a lathed object created from a spline.
| Lathe.LathedObject.LathedObject |
( |
List< Vector3 > |
spline, |
|
|
GameObject |
gameObject, |
|
|
int |
sections, |
|
|
Material |
mat, |
|
|
Mesh |
mesh, |
|
|
MeshFilter |
meshFilter |
|
) |
| |
Main contructor.
- Parameters
-
| spline | A spline as an array of Vector3 elements |
| gameObject | The empty GameObject on which the lathe mesh will be drawn |
| Lathe.LathedObject.LathedObject |
( |
GameObject |
gameObject, |
|
|
int |
sections, |
|
|
Material |
mat, |
|
|
Mesh |
mesh, |
|
|
MeshFilter |
meshFilter |
|
) |
| |
Standard contructor. (Only for testing)
The documentation for this class was generated from the following file: