Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NegativeInfinity

A representation of negative infinity (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public const float NegativeInfinity = -Infinity

Examples

using UnityEngine;public class Example : MonoBehaviour{ void Start() { Debug.Log(Mathf.NegativeInfinity); }}