FrameIT
ConeGenerator Class Reference
Inheritance diagram for ConeGenerator:
ShapeGenerator

Public Attributes

float bottomRadius = 1f
 
float topRadius = 0f
 
Vector3 topPosition = new Vector3(0, 1f, 0)
 
int sideCount = 500
 
- Public Attributes inherited from ShapeGenerator
List< MeshFilter > Meshs
 
List< float > NormalOffset
 
bool AlternateNormals = false
 

Protected Member Functions

 override (Vector3[] vertices, int[] triangles) GenerateTopology()
 
- Protected Member Functions inherited from ShapeGenerator
void GenerateShapeForAll ()
 
abstract Vector3[] int[] triangles GenerateTopology ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ShapeGenerator
static Vector3[] GetUnweightedNormals (Mesh mesh)
 
- Static Protected Member Functions inherited from ShapeGenerator
static Mesh CreateMesh ((Vector3[] vertices, int[] triangles) meshValues)
 
static Vector3[] GetCirclePoints (float circleRadius, int pointCount)
 
static Vector3[] GetCirclePoints (float circleRadius, int pointCount, Vector3 offset)
 
static Vector3[] int[] triangles CreatePlane (Vector3[] vertices, bool invert=false)
 
static Vector3[] int[] triangles CreatePrism ((Vector3[] vertices, int[] triangles) top,(Vector3[] vertices, int[] triangles) bottom, int[] boundary_top, int[] boundary_bottom)
 
- Protected Attributes inherited from ShapeGenerator
abstract Vector3[] vertices
 
- Static Protected Attributes inherited from ShapeGenerator
static Vector3[] vertices
 Creates triangles for a set of vertecies of a flat, convex shape More...
 

Member Function Documentation

◆ override()

ConeGenerator.override ( Vector3[]  vertices,
int[]  triangles 
)
protected

Member Data Documentation

◆ bottomRadius

float ConeGenerator.bottomRadius = 1f

◆ sideCount

int ConeGenerator.sideCount = 500

◆ topPosition

Vector3 ConeGenerator.topPosition = new Vector3(0, 1f, 0)

◆ topRadius

float ConeGenerator.topRadius = 0f

The documentation for this class was generated from the following file: