Click or drag to resize

WeatherMakerScriptShouldIgnoreCamera Method

Determine if a camera should be rendered in weather maker

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static bool ShouldIgnoreCamera(
	MonoBehaviour script,
	Camera camera,
	bool ignoreReflections = true
)

Parameters

script
Type: MonoBehaviour
Script
camera
Type: Camera
Camera
ignoreReflections (Optional)
Type: SystemBoolean
Whether to ignore reflection cameras (i.e. water reflection or mirror)

Return Value

Type: Boolean
True to ignore, false to render
See Also