-
Notifications
You must be signed in to change notification settings - Fork 284
ReflectionProbe
Adrien Givry edited this page May 28, 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: instanceuint32: resolution |
Sets the cubemap resolution (must be a power of 2) | |
| GetCubemapResolution |
ReflectionProbe: instance |
uint32 |
Returns the cubemap resolution |
| SetCapturePosition |
ReflectionProbe: instanceFVector3: position |
Sets the position offset for the capture of the reflection probe | |
| GetCapturePosition |
ReflectionProbe: instance |
FVector3 |
Returns the position offset for the capture 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: instanceFVector3: size |
Sets the size of the influence volume of the reflection probe | |
| GetInfluenceSize |
ReflectionProbe: instance |
FVector3 |
Returns the size of the reflection probe volume |
| SetBoxProjection |
ReflectionProbe: instancebool: enabled |
Sets if the reflection probe should use box projection | |
| IsBoxProjectionEnabled |
ReflectionProbe: instance |
bool |
Returns if the reflection probe uses box projection |
| RequestCapture |
ReflectionProbe: instancebool: 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