Click or drag to resize

WeatherMakerScriptResolveCameraMode Method

Resolve camera mode if mode is Auto. Will resolve against camera or Camera.main if camera is null

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static CameraMode ResolveCameraMode(
	Nullable<CameraMode> mode = null,
	Camera camera = null
)

Parameters

mode (Optional)
Type: SystemNullableCameraMode
Camera mode (null for current camera type or auto)
camera (Optional)
Type: Camera
Camera or null for main camera

Return Value

Type: CameraMode
Camera mode
See Also