SReflectionProbe
العميلالمكونات
في هذا الصنفRenderProbe
- الدوال
- Render
Probe - الخصائص
- Center
- Size
- Game
Object
الأعضاء 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



