Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

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;
	}