Breakroom is now Sinewave Campus. Book a meeting

SReflectionProbe

ClientComposants
Dans cette classeRenderProbe
  1. Fonctions
  2. RenderProbe
  3. Propriétés
  4. Center
  5. Size
  6. GameObject
Membres 4
FonctionRenderProbeRefreshes the probe's cubemap.
PropriétéCenterThe center of the box area in which reflections will be applied to the objects.
PropriétéSizeThe size of the box area in which reflections will be applied to the objects.
PropriétéGameObject–

Fonctions​

RenderProbe​

void RenderProbe()

Refreshes the probe's cubemap.

Valeurs de retour

void

Exemple

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

Propriétés​

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.

Exemple

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.

Exemple

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

GameObjectLecture seule​

SGameObject GameObject {get; }

Exemple

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