Projector.nearClipPlane 近裁剪面

var nearClipPlane : float

Description描述

The near clipping plane distance.

近裁剪面的距离。

The projector will not affect anything that is nearer than this distance.

投影器将不会影响任何比这个距离近的物体。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Start() {
		Projector proj = GetComponent<Projector>();
		proj.nearClipPlane = 0.5F;
	}
}
function Start() {
	var proj : Projector = GetComponent(Projector);
	proj.nearClipPlane = 0.5;
}
Page last updated: 2011-3-19