WeatherMakerLightManagerScriptSunForCamera Method |
Get the primary sun given a camera
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static WeatherMakerCelestialObjectScript SunForCamera(
Camera camera
)
Public Shared Function SunForCamera (
camera As Camera
) As WeatherMakerCelestialObjectScript
public:
static WeatherMakerCelestialObjectScript^ SunForCamera(
Camera^ camera
)
static member SunForCamera :
camera : Camera -> WeatherMakerCelestialObjectScript
Parameters
- camera
- Type: Camera
Camera
Return Value
Type:
WeatherMakerCelestialObjectScriptPrimary sun or null if no sun available
See Also