# SReflectionProbe

## Index

### Functions Index

| Function Name                            |
| ---------------------------------------- |
| void [**RenderProbe** ](#functionname)() |

### Properties Index

| Property Name                                   |
| ----------------------------------------------- |
| SVector [**Center** ](#center)`get` `set`       |
| SVector [**Size** ](#size)`get` `set`           |
| SGameObject [**GameObject** ](#gameobject)`get` |

## Functions

### RenderProbe

void **RenderProbe** ()

*Refreshes the probe's cubemap.*

{% tabs %}
{% tab title="Lua" %}

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

{% endtab %}
{% endtabs %}

## Properties

### Center

[SVector](https://docs.sine.space/scripting/client-scripting-api-reference/types/svector) **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.*

{% tabs %}
{% tab title="Lua" %}

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

{% endtab %}
{% endtabs %}

### Size

[SVector](https://docs.sine.space/scripting/client-scripting-api-reference/types/svector) **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.*

{% tabs %}
{% tab title="Lua" %}

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

{% endtab %}
{% endtabs %}

### GameObject

[SGameObject](https://docs.sine.space/scripting/client-scripting-api-reference/types/sgameobject) **GameObject** `get`

*Property Description*

{% tabs %}
{% tab title="Lua" %}

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

{% endtab %}
{% endtabs %}
