FrameIT
CircleGenerator Class Reference
Inheritance diagram for CircleGenerator:
ShapeGenerator

Static Public Member Functions

static int[] CreateCircle (float radius, int sideCount, Vector3 offset, bool invert=false)
 
static int[] CreateCircle (float radius, int sideCount, bool invert=false)
 
- Static Public Member Functions inherited from ShapeGenerator
static Vector3[] GetUnweightedNormals (Mesh mesh)
 

Public Attributes

float radius = 1f
 
int sideCount = 500
 
- Public Attributes inherited from ShapeGenerator
List< MeshFilter > Meshs
 
List< float > NormalOffset
 
bool AlternateNormals = false
 

Static Public Attributes

static Vector3 []
 Creates circle vertecies and triangles around the midPoint at (0,0,0) More...
 

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

◆ CreateCircle() [1/2]

static int[] CircleGenerator.CreateCircle ( float  radius,
int  sideCount,
bool  invert = false 
)
static

◆ CreateCircle() [2/2]

static int[] CircleGenerator.CreateCircle ( float  radius,
int  sideCount,
Vector3  offset,
bool  invert = false 
)
static

◆ override()

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

Member Data Documentation

◆ radius

float CircleGenerator.radius = 1f

◆ sideCount

int CircleGenerator.sideCount = 500

◆ Vector3

static CircleGenerator.Vector3
static

Creates circle vertecies and triangles around the midPoint at (0,0,0)

Parameters
points
invert
Returns

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