The ReflectionProbe component is used to make points in space that makes reflective surfaces within a box around the point show a different reflection map than the skybox. This is useful for controlling the lighting and look of a scene.
Fields
Fields
| Name | Type | Description | 
| persistent | Bool | Determines whether or not this item will be saved to the server. | 
| UpdateOrder | Int | Controls the order in which this component is updated. | 
| Enabled | Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. | 
| ProbeType | ReflectionProbe.Type | What mode this reflection probe uses. | 
| Importance | Int | How much priority this probe takes over another probe when two probes overlap | 
| Intensity | Float | how strong or bright the reflection is | 
| BlendDistance | Float | how far the probe will slowly take over the reflection map of objects as an object goes towards the center of influence | 
| BoxSize | Float3 | the area that this reflection probe will affect the reflection maps of objects | 
| BoxProjection | Bool | project the reflection map in a box shape from the reflection probe rather than a sphere. | 
| BakedCubemap | Cubemap | The cube map to replace the refection maps of reflective objects with in the influence area of this reflection probe | 
| ChangesSources | list of RelayRef`1<IChangeable> | A list of elements that will prompt this reflection probe to render a new map whenever they change. | 
| TimeSlicing | ReflectionProbe.TimeSlicingMode | How updates to this reflection probe should happen in updates if this probe is a realtime probe. | 
| Resolution | Int | the forced resolution of the reflection map from this reflection probe shown in the reflections of shiny objects. | 
| HDR | Bool | Whether the color encoding should be in HDR. | 
| ShadowDistance | Float | how far to render shadows from the reflection probe | 
| ClearFlags | ReflectionProbe.Clear | Whether to use the skybox or color when backing transparent pixels | 
| BackgroundColor | ColorX | The color to clear with when ClearFlagsis set to "Color" | 
| NearClip | Float | The closest distance to render from the reflection probe center when using "Realtime" on ProbeType | 
| FarClip | Float | The furthest distance to render from the reflection probe center when using "Realtime" on ProbeType | 
| SkyboxOnly | Bool | Whether to render only the skybox or not. | 
| ShowDebugVisuals | Bool | Shows the box influence area and the center point of this reflection probe | 
| _debugVisual | direct SlotCleanupRef`1<Slot> | The current debug visual that this reflection probe is showing, if applicable. | 
Sync Delegates
Triggers
| Method Name | Method type and Arguments. | Is the method hidden? | Description | 
| OnBake:ButtonEventHandler | ButtonEventHandler | ✓ | Called when the bake button is touched. | 
| Bake:Action | Action | X | Creates a static cubemap and inserts it into BakedCubemapinstead of havingProbeTypebe set to realtime. | 
Type
Values
| Name | Value | Description | 
| Realtime | 0 | render a new cube map outwards from the center of the probe every second | 
| OnChanges | 1 | render a new cubemap every time one of the elements in ChangesSourceschanges. | 
| Baked | 1 | use the provided BakedCubemap | 
Clear
Values
| Name | Value | Description | 
| Skybox | 0 | back transparent parts of the reflection map due to far or near clipping or transparent pixels in the provided BakedCubemapwith the Skybox of the world. | 
| Color | 1 | backs the transparent parts of the reflection map due to far or near clipping with realtime, or transparent pixels in the provided BakedCubemapwithBackgroundColor. | 
TimeSlicingMode
Values
| Name | Value | Description | 
| AllFacesAtOnce | 0 | spreads update over 9 frames | 
| IndividualFaces | 1 | spreads update over 14 frames | 
| NoTimeSlicing | 2 | No time slicing should be applied to capturing. Update happens within one frame. | 
Usage
Attach to a slot to start using this component as a point source for reflection map data.
Examples
Can be used for real time lighting changes, or to create custom reflection maps in an area.
See Also