Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


nearClipPlane

The near clipping plane distance.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. Projector component is deprecated now that the Built-In Render Pipeline is deprecated. To use an alternative, refer to the documentation in the component help icon. #from(6000.5)
public float nearClipPlane { get; set; }

Remarks

The projector will not affect anything that is nearer than this distance. Additional Resources: projector component.

Examples

using UnityEngine;public class Example : MonoBehaviour{ void Start() { Projector proj = GetComponent<Projector>(); proj.nearClipPlane = 0.5f; }}