Pottery
Public Member Functions | Protected Attributes | List of all members
Lathe.LathedObject Class Reference

This class represents a lathed object created from a spline. More...

Public Member Functions

 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...
 

Protected Attributes

List< Vector3 > spline
 
GameObject gameObject
 
int sections
 
Material mat
 

Detailed Description

This class represents a lathed object created from a spline.

Constructor & Destructor Documentation

Lathe.LathedObject.LathedObject ( List< Vector3 >  spline,
GameObject  gameObject,
int  sections,
Material  mat,
Mesh  mesh,
MeshFilter  meshFilter 
)

Main contructor.

Parameters
splineA spline as an array of Vector3 elements
gameObjectThe 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: