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
)
Public Shared Function ShouldIgnoreCamera (
script As MonoBehaviour,
camera As Camera,
Optional ignoreReflections As Boolean = true
) As Boolean
public:
static bool ShouldIgnoreCamera(
MonoBehaviour^ script,
Camera^ camera,
bool ignoreReflections = true
)
static member ShouldIgnoreCamera :
script : MonoBehaviour *
camera : Camera *
?ignoreReflections : bool
(* Defaults:
let _ignoreReflections = defaultArg ignoreReflections true
*)
-> bool
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:
BooleanTrue to ignore, false to render
See Also