# SReflectionProbe

**الأعضاء** 4

|       |                             |                                                                                 |
| ----- | --------------------------- | ------------------------------------------------------------------------------- |
| دالة  | [RenderProbe](#renderprobe) | Refreshes the probe's cubemap.                                                  |
| خاصية | [Center](#center)           | The center of the box area in which reflections will be applied to the objects. |
| خاصية | [Size](#size)               | The size of the box area in which reflections will be applied to the objects.   |
| خاصية | [GameObject](#gameobject)   | –                                                                               |

## الدوال

### RenderProbe

void RenderProbe()

Refreshes the probe's cubemap.

القيم المرجعة

`void`

مثال

**Lua**

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

```

## الخصائص

### Center

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

مثال

**Lua**

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

```

### Size

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

مثال

**Lua**

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

```

### GameObject

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

مثال

**Lua**

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

```
