Click or drag to resize

WeatherMakerFullScreenCloudsScriptRequestCloudProbe Method

Request a cloud probe for a transform, must be called every frame as these are cleared every frame. Call from camera pre cull event.

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version:
public bool RequestCloudProbe(
	Camera camera,
	Transform source,
	Transform target


Type: Camera
Current camera
Type: Transform
Transform to request
Type: Transform
Target or null for just the point of the transform. If target is set, a ray is cast out and a cloud density sample accumulated.

Return Value

Type: Boolean
True if added, false if failure or there are already pending requests for this camera
See Also