This ReflectionProbe class is a script interface for a reflection probe component.
The center of the box area in which reflections will be applied to the objects. Measured in the probe's local space.
probe.Center = Space.Scene.Find(“TargetTransform”).WorldPosition
The size of the box area in which reflections will be applied to the objects. Measured in the probe's local space.
probe.Size = Vector.New(50,50,50)
Refreshes the probe's cubemap.
probe.RenderProbe()
|