Mathf.NegativeInfinity 负无穷

static var NegativeInfinity : float

Description描述

A representation of positive infinity (Read Only).

表示负无穷,也就是无穷小,-∞ (只读)['negətiv][in'finiti]

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		Debug.Log(Mathf.NegativeInfinity);
	}
}
Debug.Log(Mathf.NegativeInfinity);
Page last updated: 2011-2-21