C# Class RendererExtensions, Unity-Project-Template

Mostrar archivo Open project: Nidre/Unity-Project-Template Class Usage Examples

Public Methods

Method Description
IsVisibleFrom ( this renderer, Camera camera ) : bool

Is the renderer bounds visible from given Camera.

IsVisibleFrom ( this renderer, Camera camera, float safeZone ) : bool

Is the renderer bounds multiplied by given safeZone is visible from given Camera.

Method Details

IsVisibleFrom() public static method

Is the renderer bounds visible from given Camera.
public static IsVisibleFrom ( this renderer, Camera camera ) : bool
renderer this
camera Camera
return bool

IsVisibleFrom() public static method

Is the renderer bounds multiplied by given safeZone is visible from given Camera.
public static IsVisibleFrom ( this renderer, Camera camera, float safeZone ) : bool
renderer this
camera Camera
safeZone float
return bool