AirControl  1.3.0
Open Source, Modular, and Extensible Flight Simulator For Deep Learning Research
XCharts.SerieAnimation Class Reference

the animation of serie. 动画表现。 More...

Inheritance diagram for XCharts.SerieAnimation:
Collaboration diagram for XCharts.SerieAnimation:

Public Types

enum  Easing { Linear }
 

Public Member Functions

void FadeIn ()
 
void Restart ()
 
void FadeOut ()
 
void Pause ()
 
void Resume ()
 
void Reset ()
 
void InitProgress (int data, float curr, float dest)
 
void SetDataFinish (int dataIndex)
 
bool IsFinish ()
 
bool IsInFadeOut ()
 
bool IsInDelay ()
 
float GetDataDelay (int dataIndex)
 
bool IsInDataDelay (int dataIndex)
 
bool IsAllOutDelay (int dataCount)
 
bool IsAllDataFinishProgress (int dataCount)
 
bool CheckDetailBreak (float detail)
 
void SetLinePathStartPos (Vector3 pos)
 
bool CheckDetailBreak (Vector3 pos, bool isYAxis)
 
bool NeedAnimation (int dataIndex)
 
void AllBarEnd ()
 
float GetSysmbolSize (float dest)
 
float GetCurrDetail ()
 
float GetCurrRate ()
 
int GetCurrIndex ()
 
float GetCurrData ()
 
float GetUpdateAnimationDuration ()
 
bool HasFadeOut ()
 
- Public Member Functions inherited from XCharts.ChartComponent
virtual void SetVerticesDirty ()
 
virtual void ClearVerticesDirty ()
 
virtual void SetComponentDirty ()
 
virtual void ClearComponentDirty ()
 
virtual void ClearDirty ()
 
virtual void SetAllDirty ()
 

Public Attributes

CustomAnimationDelay customFadeInDelay
 自定义渐入动画延时函数。返回ms值。 More...
 
CustomAnimationDuration customFadeInDuration
 自定义渐入动画时长函数。返回ms值。 More...
 
CustomAnimationDelay customFadeOutDelay
 自定义渐出动画延时函数。返回ms值。 More...
 
CustomAnimationDuration customFadeOutDuration
 自定义渐出动画时长函数。返回ms值。 More...
 

Properties

bool enable [get, set]
 Whether to enable animation. 是否开启动画效果。 More...
 
float? fadeInDuration [get, set]
 Easing method used for the first animation. 动画的缓动效果。 More...
 
float? fadeOutDuration [get, set]
 The milliseconds duration of the fadeOut animation. 设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。 More...
 
float actualDuration [get]
 The milliseconds actual duration of the first animation. 实际的动画时长(毫秒)。 More...
 
int threshold [get, set]
 Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold. 是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。 More...
 
float? fadeInDelay [get, set]
 The milliseconds delay before updating the first animation. 渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。 More...
 
float? fadeOutDelay [get, set]
 渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。 More...
 
bool dataChangeEnable [get, set]
 是否开启数据变更动画。 More...
 
float? dataChangeDuration [get, set]
 The milliseconds duration of the data change animation. 数据变更的动画时长(毫秒)。 More...
 
bool alongWithLinePath [get, set]
 是否沿着线的轨迹进行匀速动画。 More...
 
Action fadeInFinishCallback [get, set]
 渐入动画完成回调 More...
 
Action fadeOutFinishCallback [get, set]
 渐出动画完成回调 More...
 
- Properties inherited from XCharts.ChartComponent
virtual bool vertsDirty [get]
 图表重绘标记。 More...
 
virtual bool componentDirty [get]
 组件重新初始化标记。 More...
 
bool anyDirty [get]
 需要重绘图表或重新初始化组件。 More...
 
Painter painter [get, set]
 
Action refreshComponent [get, set]
 
GameObject gameObject [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from XCharts.ChartComponent
bool m_VertsDirty
 
bool m_ComponentDirty
 
Painter m_Painter
 

Detailed Description

the animation of serie. 动画表现。

Definition at line 22 of file SerieAnimation.cs.

Member Data Documentation

◆ customFadeInDelay

CustomAnimationDelay XCharts.SerieAnimation.customFadeInDelay

自定义渐入动画延时函数。返回ms值。

Definition at line 42 of file SerieAnimation.cs.

◆ customFadeInDuration

CustomAnimationDuration XCharts.SerieAnimation.customFadeInDuration

自定义渐入动画时长函数。返回ms值。

Definition at line 46 of file SerieAnimation.cs.

◆ customFadeOutDelay

CustomAnimationDelay XCharts.SerieAnimation.customFadeOutDelay

自定义渐出动画延时函数。返回ms值。

Definition at line 50 of file SerieAnimation.cs.

◆ customFadeOutDuration

CustomAnimationDuration XCharts.SerieAnimation.customFadeOutDuration

自定义渐出动画时长函数。返回ms值。

Definition at line 54 of file SerieAnimation.cs.

Property Documentation

◆ actualDuration

float XCharts.SerieAnimation.actualDuration
get

The milliseconds actual duration of the first animation. 实际的动画时长(毫秒)。

Definition at line 80 of file SerieAnimation.cs.

80 { get { return m_ActualDuration; } }

◆ alongWithLinePath

bool XCharts.SerieAnimation.alongWithLinePath
getset

是否沿着线的轨迹进行匀速动画。

Definition at line 107 of file SerieAnimation.cs.

107 { get { return m_AlongWithLinePath; } set { m_AlongWithLinePath = value; } }

◆ dataChangeDuration

float? XCharts.SerieAnimation.dataChangeDuration
getset

The milliseconds duration of the data change animation. 数据变更的动画时长(毫秒)。

Definition at line 103 of file SerieAnimation.cs.

103 { get { return m_DataChangeDuration; } set { m_DataChangeDuration = value < 0 ? 0 : value; } }

◆ dataChangeEnable

bool XCharts.SerieAnimation.dataChangeEnable
getset

是否开启数据变更动画。

Definition at line 98 of file SerieAnimation.cs.

98 { get { return m_DataChangeEnable; } set { m_DataChangeEnable = value; } }

◆ enable

bool XCharts.SerieAnimation.enable
getset

Whether to enable animation. 是否开启动画效果。

Definition at line 60 of file SerieAnimation.cs.

60 { get { return m_Enable; } set { m_Enable = value; } }

◆ fadeInDelay

float? XCharts.SerieAnimation.fadeInDelay
getset

The milliseconds delay before updating the first animation. 渐入动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeInDelay。

Definition at line 90 of file SerieAnimation.cs.

90 { get { return m_FadeInDelay; } set { m_FadeInDelay = value < 0 ? 0 : value; } }

◆ fadeInDuration

float? XCharts.SerieAnimation.fadeInDuration
getset

Easing method used for the first animation. 动画的缓动效果。

The milliseconds duration of the fadeIn animation. 设定的渐入动画时长(毫秒)。如果要设置单个数据项的渐入时长,可以用代码定制:customFadeInDuration。

Definition at line 70 of file SerieAnimation.cs.

70 { get { return m_FadeInDuration; } set { m_FadeInDuration = value < 0 ? 0 : value; } }

◆ fadeInFinishCallback

Action XCharts.SerieAnimation.fadeInFinishCallback
getset

渐入动画完成回调

Definition at line 111 of file SerieAnimation.cs.

111 { get; set; }

◆ fadeOutDelay

float? XCharts.SerieAnimation.fadeOutDelay
getset

渐出动画延时(毫秒)。如果要设置单个数据项的延时,可以用代码定制:customFadeOutDelay。

Definition at line 94 of file SerieAnimation.cs.

94 { get { return m_FadeOutDelay; } set { m_FadeInDelay = value < 0 ? 0 : value; } }

◆ fadeOutDuration

float? XCharts.SerieAnimation.fadeOutDuration
getset

The milliseconds duration of the fadeOut animation. 设定的渐出动画时长(毫秒)。如果要设置单个数据项的渐出时长,可以用代码定制:customFadeOutDuration。

Definition at line 75 of file SerieAnimation.cs.

75 { get { return m_FadeOutDuration; } set { m_FadeOutDuration = value < 0 ? 0 : value; } }

◆ fadeOutFinishCallback

Action XCharts.SerieAnimation.fadeOutFinishCallback
getset

渐出动画完成回调

Definition at line 115 of file SerieAnimation.cs.

115 { get; set; }

◆ threshold

int XCharts.SerieAnimation.threshold
getset

Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold. 是否开启动画的阈值,当单个系列显示的图形数量大于这个阈值时会关闭动画。

Definition at line 85 of file SerieAnimation.cs.

85 { get { return m_Threshold; } set { m_Threshold = value; } }

The documentation for this class was generated from the following file: