HandleUtility.CalcLineTranslation 计算线条转换

static function CalcLineTranslation (src : Vector2, dest : Vector2, srcPosition : Vector3, constraintDir : Vector3) : float

Parameters参数

Returns

float - the distance travelled along constraintDir

返回浮点数,沿constraintDir的移动距离

Description描述

Helper function for doing arrows.

做箭头的辅助函数。

Page last updated: 2011-7-10