Click or drag to resize

WeatherMakerReflectionScript Fields

The WeatherMakerReflectionScript type exposes the following members.

Fields
  NameDescription
Public fieldAspectRatio
Aspect ratio (width/height) for reflection camera, 0 for default.
Public fieldClipPlaneOffset
Near clip plane offset for reflection
Public fieldFarPlane
Far plane for reflection camera, 0 for default.
Public fieldFieldOfView
Field of view for reflection camera, 0 for default.
Public fieldMaximumPerPixelLightsToReflect
Maximum per pixel lights in reflection
Public fieldNearPlane
Near plane for reflection camera, 0 for default.
Public fieldNormalIsForward
Whether normal is forward. True for quads, false for planes (up)
Public fieldRecursionLimit
Recursion limit. Reflections will render off each other up to this many times. Be careful for performance.
Public fieldRecursionRenderTextureSizeReducerPower
Reduce render texture size as recursion increases, formula = Mathf.Pow(RecursionRenderTextureSizeReducerPower, recursionLevel) * RenderTextureSize.
Public fieldReflectionCameraRenderingPath
The reflection camera render path. Set to 'UsePlayerSettings' to take on the observing camera rendering path. DO NOT CHANGE AT RUNTIME.
Public fieldReflectionMask
What layers to reflect, set to none or 0 to disable reflections.
Public fieldReflectionMaskRecursion
Reflection mask for recursion. Set to 0 to match the ReflectionMask property.
Public fieldReflectionSamplerName
Reflection texture name for shaders to use
Public fieldReflectMaterial
Material put reflection textures on
Public fieldReflectRenderer
Renderer to draw reflection in, if null you must set ReflectMaterial.
Public fieldReflectSkybox
Whether to reflect the skybox
Public fieldRenderTextureFormat
Render texture format for reflection
Public fieldRenderTextureSize
Render texture size. Based on aspect ratio this will use this size as the width or height.
Top
See Also