Transform.SetTranslation

Transform.SetTranslation method

设置当前变换的平移。

public Transform SetTranslation(double tx, double ty, double tz)
参数类型描述
txDouble
tyDouble
tzDouble

示例

Node node = new Node();
node.Transform.SetTranslation(10, 0, 0);

另请参见