Breakroom is now Sinewave Campus. Book a meeting

SReflectionProbe

客户端组件
在此类中RenderProbe
  1. 函数
  2. RenderProbe
  3. 属性
  4. Center
  5. Size
  6. GameObject
成员 4
函数RenderProbeRefreshes the probe's cubemap.
属性CenterThe center of the box area in which reflections will be applied to the objects.
属性SizeThe size of the box area in which reflections will be applied to the objects.
属性GameObject–

函数​

RenderProbe​

void RenderProbe()

Refreshes the probe's cubemap.

返回值

void

示例

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

属性​

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.

示例

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.

示例

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

GameObject只读​

SGameObject GameObject {get; }

示例

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