MC-Basic:element.TOTALTIME/zh-hans

From SoftMC-Wiki
< MC-Basic:element.TOTALTIME
Revision as of 09:32, 30 October 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == <''element''>.Ttime == 格式 == <''element''>?Ttime == 适用版本 == 从版本4.5.25起及更高 == 描述 == Returns the total time of the mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: [[::MC-Basic:element.TOTALTIME|English]]  • [[::MC-Basic:element.TOTALTIME/zh-hans|中文(简体)‎]]

缩写

<element>.Ttime

格式

<element>?Ttime

适用版本

从版本4.5.25起及更高

描述

Returns the total time of the motion currently being executing.

Values:

-2 – Not applicable (PrfType = 0 or 1).

-1 – No motion active.

0 – Cannot happen as there are no motions of zero duration.

> 0 – Total time of running motion.


NOTE-Info.svgNOTE
Note that in case of blending the TotalTime/CurrentTime of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.


类型

Long

取值范围

-2 to MaxInt

单位

milliseconds (ms)

默认

使用范围

Task, Terminal

限制

Read only

例子

Axis
?A1.totaltime

Group
?G1totaltime

参考