Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Projector.nearClipPlane

Switch to Manual
public var nearClipPlane: float;

Description

The near clipping plane distance.

The projector will not affect anything that is nearer than this distance. See Also: projector component.

	function Start() {
		var proj : Projector = GetComponent.<Projector>();
		proj.nearClipPlane = 0.5;
	}