# SReflectionProbe

**Membres** 4

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

## Fonctions

### RenderProbe

void RenderProbe()

Refreshes the probe's cubemap.

Valeurs de retour

`void`

Exemple

**Lua**

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

```

## Propriétés

### Center

[SVector](/docs/fr/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.

Exemple

**Lua**

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

```

### Size

[SVector](/docs/fr/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.

Exemple

**Lua**

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

```

### GameObject

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

Exemple

**Lua**

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

```
