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