Breakroom is now Sinewave Campus. Book a meeting

SReflectionProbe

ClientComponents
On this classRenderProbe
  1. Functions
  2. RenderProbe
  3. Properties
  4. Center
  5. Size
  6. GameObject
Members 4
FunctionRenderProbeRefreshes the probe's cubemap.
PropertyCenterThe center of the box area in which reflections will be applied to the objects.
PropertySizeThe size of the box area in which reflections will be applied to the objects.
PropertyGameObject–

Functions​

RenderProbe​

void RenderProbe()

Refreshes the probe's cubemap.

Returns

void

Example

Lua
Space.Host.ExecutingObject.ReflectionProbe.RenderProbe()

Properties​

Center​

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.

Example

Lua
vectorCenter = Space.Host.ExecutingObject.ReflectionProbe.Center

Size​

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.

Example

Lua
vectorSize = Space.Host.ExecutingObject.ReflectionProbe.Size

GameObjectRead only​

SGameObject GameObject {get; }

Example

Lua
theGameObject = Space.Host.ExecutingObject.ReflectionProbe.GameObject