Click or drag to resize

WeatherMakerReflectionScriptRenderReflection Method

Render a reflection camera.

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void RenderReflection(
	WeatherMakerReflectionScriptReflectionCameraInfo info,
	Transform reflectionTransform,
	Vector3 reflectionNormal,
	float clipPlaneOffset,
	Func<Vector3, Vector3> offsetFunc
)

Parameters

info
Type: DigitalRuby.WeatherMakerWeatherMakerReflectionScriptReflectionCameraInfo
Camera info
reflectionTransform
Type: Transform
Reflection transform (parent of reflection camera)
reflectionNormal
Type: Vector3
Reflection normal vector (up for planes, forward for quads)
clipPlaneOffset
Type: SystemSingle
Clip plane offset for near clipping
offsetFunc
Type: SystemFuncVector3, Vector3
Source offset func, can be null
See Also