Nez.Portable/ECS/Components/Renderables/RenderableComponent.cs
/// <summary>
/// returns true if the Renderables bounds intersects the Camera.bounds. Handles state switches for the isVisible flag. Use this method
/// in your render method to see decide if you should render or not.
/// </summary>
/// <returns><c>true</c>, if visible from camera was ised, <c>false</c> otherwise.</returns>
/// <param name="camera">Camera.</param>
returns true if the Renderables bounds intersects the Camera.bounds. Handles state switches for the isVisible flag. Use this method
in your render method to see decide if you should render or not.
returns true if the Renderables bounds intersects the Camera . bounds . Handles state switches for the isVisible flag . Use this method in your render method to see decide if you should render or not .
public virtual bool isVisibleFromCamera(Camera camera)
        {
            isVisible = camera.bounds.intersects(bounds);
            return isVisible;
        }
public virtual bool isVisibleFromCamera ( Camera camera ) { isVisible = camera . bounds . intersects ( bounds ) ; return isVisible ; }
returns true if the Renderables bounds intersects the Camera.bounds.
returns true if the Renderables bounds intersects the Camera . bounds .
None
camera
Camera
None