NGUtil IsRendererVisibleFrom Method ScoreFlash API Documentation V4.6.0
Tests if a given renderer is visible from a specific camera.

Namespace: NarayanaGames.Common
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public static bool IsRendererVisibleFrom(
	Camera camera,
	Renderer renderer
)

Parameters

camera
Type: Camera
the camera to test
renderer
Type: Renderer
the renderer to test

Return Value

true, if renderer is visible from camera
See Also