![]() | GestureTrail Class |
Namespace: RavingBots.MagicGestures.Controller
public class GestureTrail : PooledGameObject
The GestureTrail type exposes the following members.
Name | Description | |
---|---|---|
![]() | GestureTrail | Initializes a new instance of the GestureTrail class |
Name | Description | |
---|---|---|
![]() | LineRenderer |
The line renderer used for the trail.
|
Name | Description | |
---|---|---|
![]() | Awake |
Grab configuration from the LineRenderer.
(Overrides PooledGameObjectAwake.) |
![]() | LateUpdate |
Update the layer of LineRenderer.
|
![]() | Release |
Called when the user releases the button.
|
![]() | ResetState |
Reset this instance to the pristine state.
(Overrides PooledGameObjectResetState.) |
![]() | SetLine |
Set points on the trail.
|
![]() | SetMorph |
Set the morphing parameters.
|
![]() | SetTip |
Update the most recent point of the trail.
|
![]() | Update |
Update the visual effects.
|
![]() | UpdateFade |
Update the fade effect.
|
![]() | UpdateMorph |
Update the morph effect.
|
Name | Description | |
---|---|---|
![]() | _fade |
The progress of the fade effect.
|
![]() | _layer |
The trail's layer.
|
![]() | _lineColor |
The trail's line color.
|
![]() | _lineWidth |
The trail's line width.
|
![]() | _morph |
The progress of the morph effect.
|
![]() | _morphColor |
The target color of the trail, used in the morph effect.
|
![]() | _morphPoints |
The target positions of the trail points, used in the morph effect.
|
![]() | _released | if user has released the button.
|
![]() | FadeDuration |
The duration of the trail fade.
|
![]() | MorphDuration |
The duration of the trail morph.
|