|
static Vector3 [] | ScaledUnitCircle (int res, Vector3 pos, float scale) |
|
static Vector3 [] | InterpolateShapes (Vector3[] s1, Vector3[] s2, float alpha) |
| Interpolate 2 Shapes with different parameters and return their vertices. More...
|
|
◆ CircleShape()
CircleShape.CircleShape |
( |
Vector3 |
position, |
|
|
DrawMode |
drawMode, |
|
|
int |
resolution, |
|
|
float |
spacing |
|
) |
| |
◆ Bbox()
override float [] CircleShape.Bbox |
( |
| ) |
|
|
virtual |
calculate the bounding box of this shape
- Returns
Implements Shape.
◆ calcVertices()
override void CircleShape.calcVertices |
( |
| ) |
|
|
protectedvirtual |
returns 3d Vectors that can be added to the mesh.
Implements Shape.
◆ ScaledUnitCircle()
static Vector3 [] CircleShape.ScaledUnitCircle |
( |
int |
res, |
|
|
Vector3 |
pos, |
|
|
float |
scale |
|
) |
| |
|
static |
◆ resolution
int CircleShape.resolution |
◆ spacing
float CircleShape.spacing |
The documentation for this class was generated from the following file:
- src/geometry shader sample project/StandardGeometryShader-master/Assets/Layer/CircleShape.cs