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: 0.0.0.0
Syntax
public bool RequestCloudProbe(
	Camera camera,
	Transform source,
	Transform target
)

Parameters

camera
Type: Camera
Current camera
source
Type: Transform
Transform to request
target
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