|
| virtual void | DrawCircle () |
| | Sets all point positions for our line renderer.
|
|
| DrawAxis | Axis = DrawAxis.Z |
| | the axis on which to draw the circle
|
| float | NormalOffset = 0 |
| | the distance by which to push the circle on the draw axis
|
| int | PositionsCount = 60 |
| | the amount of segments on the line renderer. More segments, more smoothness, more performance cost
|
| float | HorizontalRadius = 10 |
| | the length of the circle's horizontal radius
|
| float | VerticalRadius = 10 |
| | the length of the circle's vertical radius
|
| bool | AutoRedrawOnValuesChange = false |
| | if this is true, the circle will be redrawn every time you change a value in the inspector, otherwise you'll have to call the DrawCircle method (or press the debug button below)
|
| bool | DrawCircleButton |
| | a test button used to call the DrawCircle method
|
|
| virtual void | Awake () |
| | On Awake we initialize our line renderer and draw our circle.
|
| virtual void | Initialization () |
| | Grabs the line renderer and sets it up.
|
| virtual float | ComputeX () |
| | Computes the x position of the new point.
|
| virtual float | ComputeY () |
| | Computes the y position of the new point.
|
| virtual void | DrawCircleX () |
| | Draws a circle on the x axis.
|
| virtual void | DrawCircleY () |
| | Draws a circle on the y axis.
|
| virtual void | DrawCircleZ () |
| | Draws a circle on the z axis.
|
| virtual void | OnValidate () |
| | On Validate we redraw our circle if needed.
|
◆ DrawAxis
◆ Awake()
| virtual void MoreMountains.Tools.MMLineRendererCircle.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we initialize our line renderer and draw our circle.
◆ ComputeX()
| virtual float MoreMountains.Tools.MMLineRendererCircle.ComputeX |
( |
| ) |
|
|
protectedvirtual |
Computes the x position of the new point.
- Returns
◆ ComputeY()
| virtual float MoreMountains.Tools.MMLineRendererCircle.ComputeY |
( |
| ) |
|
|
protectedvirtual |
Computes the y position of the new point.
- Returns
◆ DrawCircle()
| virtual void MoreMountains.Tools.MMLineRendererCircle.DrawCircle |
( |
| ) |
|
|
virtual |
Sets all point positions for our line renderer.
◆ DrawCircleX()
| virtual void MoreMountains.Tools.MMLineRendererCircle.DrawCircleX |
( |
| ) |
|
|
protectedvirtual |
Draws a circle on the x axis.
◆ DrawCircleY()
| virtual void MoreMountains.Tools.MMLineRendererCircle.DrawCircleY |
( |
| ) |
|
|
protectedvirtual |
Draws a circle on the y axis.
◆ DrawCircleZ()
| virtual void MoreMountains.Tools.MMLineRendererCircle.DrawCircleZ |
( |
| ) |
|
|
protectedvirtual |
Draws a circle on the z axis.
◆ Initialization()
| virtual void MoreMountains.Tools.MMLineRendererCircle.Initialization |
( |
| ) |
|
|
protectedvirtual |
Grabs the line renderer and sets it up.
◆ OnValidate()
| virtual void MoreMountains.Tools.MMLineRendererCircle.OnValidate |
( |
| ) |
|
|
protectedvirtual |
On Validate we redraw our circle if needed.
◆ _angle
| float MoreMountains.Tools.MMLineRendererCircle._angle |
|
protected |
◆ _line
| LineRenderer MoreMountains.Tools.MMLineRendererCircle._line |
|
protected |
◆ _newPosition
| Vector3 MoreMountains.Tools.MMLineRendererCircle._newPosition |
|
protected |
◆ _x
| float MoreMountains.Tools.MMLineRendererCircle._x |
|
protected |
◆ _y
| float MoreMountains.Tools.MMLineRendererCircle._y |
|
protected |
◆ _z
| float MoreMountains.Tools.MMLineRendererCircle._z |
|
protected |
◆ AutoRedrawOnValuesChange
| bool MoreMountains.Tools.MMLineRendererCircle.AutoRedrawOnValuesChange = false |
if this is true, the circle will be redrawn every time you change a value in the inspector, otherwise you'll have to call the DrawCircle method (or press the debug button below)
◆ Axis
the axis on which to draw the circle
◆ DrawCircleButton
| bool MoreMountains.Tools.MMLineRendererCircle.DrawCircleButton |
a test button used to call the DrawCircle method
◆ HorizontalRadius
| float MoreMountains.Tools.MMLineRendererCircle.HorizontalRadius = 10 |
the length of the circle's horizontal radius
◆ NormalOffset
| float MoreMountains.Tools.MMLineRendererCircle.NormalOffset = 0 |
the distance by which to push the circle on the draw axis
◆ PositionsCount
| int MoreMountains.Tools.MMLineRendererCircle.PositionsCount = 60 |
the amount of segments on the line renderer. More segments, more smoothness, more performance cost
◆ VerticalRadius
| float MoreMountains.Tools.MMLineRendererCircle.VerticalRadius = 10 |
the length of the circle's vertical radius
The documentation for this class was generated from the following file: