ChartMorpher
public sealed class ChartMorpherRead-only view of a ChartTransition for the Chart Guru 3D renderer, which still reads presented
values through this type. It is removed with the 3D half of the transition system; use
ChartTransition everywhere else.
Constructors
Section titled “Constructors”
ChartMorpher(Chart)
Section titled “ChartMorpher(Chart)”public ChartMorpher(Chart chart)Creates a view over a new transition driver for chart.
Parameters
| Name | Type |
|---|---|
chart |
ChartGuru.Chart |
Methods
Section titled “Methods”
StartValueAnimation(float[], Color[], Color[], Animation)
Section titled “StartValueAnimation(float[], Color[], Color[], Animation)”public void StartValueAnimation(float[] previousValues, Color[] previousColors, Color[] currentColors, Animation animation)Starts an index-aligned value transition; null previousValues grows every mark in from zero.
Parameters
| Name | Type |
|---|---|
previousValues |
System.Single[] |
previousColors |
UnityEngine.Color[] |
currentColors |
UnityEngine.Color[] |
animation |
ChartGuru.Animation |
Dispose()
Section titled “Dispose()”public void Dispose()Releases the transition when this view created it.
Properties
Section titled “Properties”
IsMorphing
Section titled “IsMorphing”public bool IsMorphing { get; }True while the underlying transition runs.
Returns
System.Boolean
CurrentValues
Section titled “CurrentValues”public NativeArray<float> CurrentValues { get; }Presented value of every mark, by mark index; see ChartTransition.CurrentValues.
Returns
Unity.Collections.NativeArray{System.Single}
IsEntryAnimation
Section titled “IsEntryAnimation”public bool IsEntryAnimation { get; }True while the entry animation grows every mark in from zero.
Returns
System.Boolean