Difference between revisions of "MC-Basic:axis.DIRECTION/zh-hans"

From SoftMC-Wiki
Jump to: navigation, search
Line 40: Line 40:
 
* [[AXY:MC-Basic:axis.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
 
* [[AXY:MC-Basic:axis.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
 
* [[MC-Basic:axis.POSITIONFACTOR|axis.POSITIONFACTOR]]
 
* [[MC-Basic:axis.POSITIONFACTOR|axis.POSITIONFACTOR]]
* [[MC-Basic:axis.VELOCITYFACTOR|axis.VELOCITYFACTOR]]
+
* [[AXY:MC-Basic:axis.VELOCITYFACTOR|axis.VELOCITYFACTOR]]

Revision as of 07:38, 14 August 2017

语言: [[::MC-Basic:axis.DIRECTION|English]]  • [[::MC-Basic:axis.DIRECTION/zh-hans|中文(简体)‎]]

缩写

格式

<axis>.Direction = <expression>

?<axis>.Direction

可用版本

所有版本

描述

此属性允许您定义运动的逻辑方向。运动因子(即POSITIONFACTOR,VELOCITYFACTOR,ACCELERATIONFACTOR)仅分配给正值。DIRECTION决定他们的符号。

-1: 正向运动
1: 反向运动

类型

Long

取值范围

-1 or 1

单位

默认

1

使用范围

Configuration, Task or Terminal

限制

当轴被使能时,或者被设定为主轴时方向无法改变。
为了在任务中设置该值,轴必须关联到该任务中(使用ATTACH命令)。

例子

Axis1.Direction = 1

参见