Api Sandbox Rendering ReflectionSetup
struct

ReflectionSetup

public sealed struct ReflectionSetup

Allows special setup for reflections, such as offsetting the reflection plane

Properties

Name Type Description
FallbackColor Color? If we can't render the reflection and this is set, we'll clear the render target to this color

Fields

Name Type Description
ViewSetup ViewSetup Allows overriding everything you normally can
ClipOffset Single Offset the reflection plane's clip plane by this much
RenderBehind Boolean If true we'll render the reflection even if we're behind the plane
Assembly: Sandbox.Engine Namespace: Sandbox.Rendering Full Name: Sandbox.Rendering.ReflectionSetup