Camera.nearClipPlane Manual     Reference     Scripting  
Scripting > Runtime Classes > Camera
Camera.nearClipPlane

var nearClipPlane : float

Description

The near clipping plane distance.

JavaScripts
camera.nearClipPlane = 0.1;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
camera.nearClipPlane = 0.1F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
camera.nearClipPlane = 0.1F

See Also: camera component