Returns pixel color at coordinates (face, x, y).
// prints the color of the pixel at (0,0) of the +X face var c : Cubemap; Debug.Log(c.GetPixel(CubemapFace.PositiveX, 0, 0));
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public Cubemap c; void Example() { Debug.Log(c.GetPixel(CubemapFace.PositiveX, 0, 0)); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): public c as Cubemap def Example() as void: Debug.Log(c.GetPixel(CubemapFace.PositiveX, 0, 0))