SReflectionProbe
客户端组件
在此类中RenderProbe
成员 4
| 函数 | RenderProbe | Refreshes the probe's cubemap. |
| 属性 | Center | The center of the box area in which reflections will be applied to the objects. |
| 属性 | Size | The 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
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
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只读
示例
Lua
theGameObject = Space.Host.ExecutingObject.ReflectionProbe.GameObject



