Show / Hide Table of Contents

Enum SourceType

Different types of algorithms that model how source values spread from their source's location.

Namespace: GoRogue.SenseMapping
Assembly: GoRogue.dll
Syntax
public enum SourceType

Fields

Name Description
RIPPLE

Performs calculation by pushing values out from the source location. Source values spread around corners a bit.

RIPPLE_LOOSE

Similar to RIPPLE but with different spread mechanics. Values spread around edges like smoke or water, but maintains a tendency to curl towards the start position as it goes around edges.

RIPPLE_TIGHT

Similar to RIPPLE, but values spread around corners only very slightly.

RIPPLE_VERY_LOOSE

Similar to RIPPLE, but values spread around corners a lot.

SHADOW

Uses a Shadowcasting algorithm. All partially resistant grid locations are treated as being fully transparent (it's on-off blocking, where a value greater than or equal to the source's Intensity in the resistance map blocks, and all lower values don't).

Extension Methods

Utility.Yield<SourceType>()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX