# SReflectionProbe

**Members** 4

|          |                             |                                                                                 |
| -------- | --------------------------- | ------------------------------------------------------------------------------- |
| Function | [RenderProbe](#renderprobe) | Refreshes the probe's cubemap.                                                  |
| Property | [Center](#center)           | The center of the box area in which reflections will be applied to the objects. |
| Property | [Size](#size)               | The size of the box area in which reflections will be applied to the objects.   |
| Property | [GameObject](#gameobject)   | –                                                                               |

## Functions

### RenderProbe

void RenderProbe()

Refreshes the probe's cubemap.

Returns

`void`

Example

**Lua**

```lua
Space.Host.ExecutingObject.ReflectionProbe.RenderProbe()

```

## Properties

### Center

[SVector](/docs/scripting/client-scripting-api-reference/types/svector.md) Center {get; set; }

The center of the box area in which reflections will be applied to the objects. Measured in the probe's local space.

Example

**Lua**

```lua
vectorCenter = Space.Host.ExecutingObject.ReflectionProbe.Center

```

### Size

[SVector](/docs/scripting/client-scripting-api-reference/types/svector.md) Size {get; set; }

The size of the box area in which reflections will be applied to the objects. Measured in the probe's local space.

Example

**Lua**

```lua
vectorSize = Space.Host.ExecutingObject.ReflectionProbe.Size

```

### GameObject

[SGameObject](/docs/scripting/client-scripting-api-reference/types/sgameobject.md) GameObject {get; }

Example

**Lua**

```lua
theGameObject = Space.Host.ExecutingObject.ReflectionProbe.GameObject

```
