Transform.TransformDirection 变换方向

来源:互联网 发布:flash for mac安装 编辑:程序博客网 时间:2024/06/05 04:51

Transforms direction from local space to world space.

从自身坐标到世界坐标变换方向。

This operation is not affected by scale or position of the transform. The returned vector has the same length as direction.

这个操作不会受到变换的缩放和位置的影响。返回的向量与direction有同样的长度。


• function TransformDirection (x : float, y : float, z : float) : Vector3

Description描述

Transforms direction x, y, z from local space to world space.

变换方向x, y, z从自身坐标到世界坐标。

This operation is not affected by scale or position of the transform. The returned vector has the same length as direction.

这个操作不会受到变换的缩放和位置的影响。返回的向量与direction有同样的长度。


0 0
原创粉丝点击