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
)
Public Function RequestCloudProbe (
camera As Camera,
source As Transform,
target As Transform
) As Boolean
public:
bool RequestCloudProbe(
Camera^ camera,
Transform^ source,
Transform^ target
)
member RequestCloudProbe :
camera : Camera *
source : Transform *
target : Transform -> bool
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:
BooleanTrue if added, false if failure or there are already pending requests for this camera
See Also