Class LiveMovementVisualizer
This class implements visualization of past movement. Attach script to an object and it will visualize it's trajectory over time. Path is visualized with points and lines between those points.
Inheritance
System.Object
LiveMovementVisualizer
Namespace: Marus.Visualization
Assembly: cs.temp.dll.dll
Syntax
public class LiveMovementVisualizer : MonoBehaviour
Fields
EnableFadeout
Delete points older than FadeOutAfterSecs seconds if enabled.
Declaration
public bool EnableFadeout
Field Value
Type | Description |
---|---|
System.Boolean |
FadeOutAfterSecs
Point lifetime in seconds if EnableFadeout is set to true.
Declaration
public float FadeOutAfterSecs
Field Value
Type | Description |
---|---|
System.Single |
LineColor
Line color
Declaration
public Color LineColor
Field Value
Type | Description |
---|---|
Color |
LineThickness
Line thickness
Declaration
public float LineThickness
Field Value
Type | Description |
---|---|
System.Single |
MinimumDistanceDelta
Minimum distance difference to save a point in path. This means that new points will not be saved and drawn if object is not moving.
Declaration
public float MinimumDistanceDelta
Field Value
Type | Description |
---|---|
System.Single |
PointColor
Point color
Declaration
public Color PointColor
Field Value
Type | Description |
---|---|
Color |
PointSize
Point size
Declaration
public float PointSize
Field Value
Type | Description |
---|---|
System.Single |
RefreshRateHz
Draw point frequency in Hz
Declaration
public float RefreshRateHz
Field Value
Type | Description |
---|---|
System.Single |
TrackIn3D
Track in 3D space if true, otherwise track in 2D plane with y coordinate set to 0
Declaration
public bool TrackIn3D
Field Value
Type | Description |
---|---|
System.Boolean |