Vector3
- Angle
- ClampMagnitude
- Cross
- Distance
- Dot
- forward
- Lerp
- magnitude
- Max
- Min
- MoveTowards
- normalized
- Normalize
- one
- operator !=
- operator *
- operator +
- operator -
- operator /
- operator ==
- OrthoNormalize
- Project
- Reflect
- right
- RotateTowards
- Scale
- Slerp
- SmoothDamp
- sqrMagnitude
- this [int index]
- ToString
- up
- Vector3
- x
- y
- zero
- z
Vector3.Min 最小
static function Min (lhs : Vector3, rhs : Vector3) : Vector3
Description描述
Returns a vector that is made from the smallest components of two vectors.
返回一个由两个向量的最小组件组成的向量。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public Vector3 a = new Vector3(1, 2, 3);
public Vector3 b = new Vector3(4, 3, 2);
public void Awake() {
print(Vector3.Min(a, b));
}
}
参见: Max 函数
最后修改:2010年12月20日 Monday 22:59