UpdateMode

    ReflectionProbe.swift:22
    enum UpdateMode

    Cases

    • case once

      Update the probe once on the next frame (recommended for most objects). The corresponding radiance map will be generated over the following six frames. This takes more time to update than .updateAlways, but it has a lower performance cost and can result in higher-quality reflections. The ReflectionProbe is updated when its transform changes, but not when nearby geometry changes. You can force a ReflectionProbe update by moving the ReflectionProbe slightly in any direction.

    • case always

      Update the probe every frame. This provides better results for fast-moving dynamic objects (such as cars). However, it has a significant performance cost. Due to the cost, it’s recommended to only use one ReflectionProbe with .updateAlways at most per scene. For all other use cases, use .updateOnce.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (15) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features