-
Notifications
You must be signed in to change notification settings - Fork 275
ReflectionProbe
Adrien Givry edited this page May 29, 2025
·
3 revisions
Component that captures the surrounding environment into a cubemap texture.
- C++ related class:
OvCore::ECS::Components::CReflectionProbe - Inherits from lua usertype:
Component
This usertype has no variables
This usertype has no constructors
| Name | Input | Output | Description |
|---|---|---|---|
| SetRefreshMode |
ReflectionProbe: instanceReflectionProbeRefreshMode: mode |
Sets the refresh mode of the reflection probe | |
| GetRefreshMode |
ReflectionProbe: instance |
ReflectionProbeRefreshMode |
Returns the refresh mode of the reflection probe |
| SetCaptureSpeed |
ReflectionProbe: instanceReflectionProbeCaptureSpeed: speed |
Determines how many faces the reflection probe should capture per frame | |
| GetCaptureSpeed |
ReflectionProbe: instance |
ReflectionProbeCaptureSpeed |
Returns the capture speed (number of faces captured per frame) |
| SetCubemapResolution |
ReflectionProbe: instancenumber: resolution |
Sets the cubemap resolution (must be a power of 2) | |
| GetCubemapResolution |
ReflectionProbe: instance |
number |
Returns the cubemap resolution |
| SetCapturePosition |
ReflectionProbe: instanceVector3: position |
Sets the position offset for the capture of the reflection probe | |
| GetCapturePosition |
ReflectionProbe: instance |
Vector3 |
Returns the position offset for the capture of the reflection probe |
| SetBrightness |
ReflectionProbe: instancenumeric: brightness |
Sets the brightness of the reflection probe | |
| GetBrightness |
ReflectionProbe: instance |
numeric |
Returns the brightness of the reflection probe |
| SetInfluencePolicy |
ReflectionProbe: instanceReflectionProbeInfluencePolicy: policy |
Determines the influence policy of the reflection probe | |
| GetInfluencePolicy |
ReflectionProbe: instance |
ReflectionProbeInfluencePolicy |
Returns the influence policy of the reflection probe |
| SetInfluenceSize |
ReflectionProbe: instanceVector3: size |
Sets the size of the influence volume of the reflection probe | |
| GetInfluenceSize |
ReflectionProbe: instance |
Vector3 |
Returns the size of the reflection probe volume |
| SetBoxProjection |
ReflectionProbe: instanceboolean: enabled |
Sets if the reflection probe should use box projection | |
| IsBoxProjectionEnabled |
ReflectionProbe: instance |
boolean |
Returns if the reflection probe uses box projection |
| RequestCapture |
ReflectionProbe: instanceboolean: forceImmediate = false |
Requests the cubemap to be updated | |
| GetCubemap |
ReflectionProbe: instance |
Texture |
Returns the last complete cubemap captured by the reflection probe |
This usertype has no operators
