文档

Unity Engine

Unity Engine

nearClipPlane

The near clipping plane distance.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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; }}