Interface LightProbeBlendingStrategy

All Known Implementing Classes:
BasicProbeBlendingStrategy, WeightedProbeBlendingStrategy

public interface LightProbeBlendingStrategy
This is the interface to implement if you want to make your own LightProbe blending strategy. The strategy sets the way multiple LightProbes will be handled for a given object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Populates the resulting light probes into the given light list.
    void
    Registers a probe with this strategy
  • Method Details

    • registerProbe

      void registerProbe(LightProbe probe)
      Registers a probe with this strategy
      Parameters:
      probe - the probe to be registered
    • populateProbes

      void populateProbes(Geometry g, LightList lightList)
      Populates the resulting light probes into the given light list.
      Parameters:
      g - the geometry for which the light list is computed
      lightList - the result light list