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
)
Public Shared Sub RenderReflection (
info As WeatherMakerReflectionScriptReflectionCameraInfo,
reflectionTransform As Transform,
reflectionNormal As Vector3,
clipPlaneOffset As Single,
offsetFunc As Func(Of Vector3, Vector3)
)
public:
static void RenderReflection(
WeatherMakerReflectionScriptReflectionCameraInfo^ info,
Transform^ reflectionTransform,
Vector3 reflectionNormal,
float clipPlaneOffset,
Func<Vector3, Vector3>^ offsetFunc
)
static member RenderReflection :
info : WeatherMakerReflectionScriptReflectionCameraInfo *
reflectionTransform : Transform *
reflectionNormal : Vector3 *
clipPlaneOffset : float32 *
offsetFunc : Func<Vector3, Vector3> -> unit
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