Version: 2022.3

Projector.nearClipPlane

切换到手册
public float nearClipPlane ;

描述

近裁剪面距离。

投影器不影响近于此距离的任何内容。 另请参阅:projector component

using UnityEngine;

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