LaserRenderer Class |
Namespace: RavingBots.MagicGestures.Controller
public class LaserRenderer : MonoBehaviour
The LaserRenderer type exposes the following members.
Name | Description | |
---|---|---|
LaserRenderer | Initializes a new instance of the LaserRenderer class |
Name | Description | |
---|---|---|
Awake |
Remember the initial width and scale.
| |
SetShowProgress |
Update the progress of the animation.
| |
Update |
Update the visuals if the animation is playing.
|
Name | Description | |
---|---|---|
_initScale |
The initial scale of the pointer.
| |
_initWidth |
The initial width of the pointer.
| |
_laserPointer |
The laser pointer component drawn.
| |
_lineRenderer |
The LineRenderer component used.
| |
_showProgress |
The progress of the show/hide animation.
| |
Length |
The length of the laser.
| |
Scaled |
The transform scaled in the show/hide animation.
| |
ShowDuration |
The duration of the show/hide animation.
|