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