Projector.farClipPlane Manual     Reference     Scripting  
Scripting > Runtime Classes > Projector
Projector.farClipPlane

var farClipPlane : float

Description

The far clipping plane distance.

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

JavaScripts
function Start() {
var proj : Projector = GetComponent(Projector);
proj.farClipPlane = 20.0;
}

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Start() {
Projector proj = GetComponent<Projector>();
proj.farClipPlane = 20.0F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Start():
proj as Projector = GetComponent[of Projector]()
proj.farClipPlane = 20.0F