Dungeon Architect  17.0.0
DungeonArchitect.Splatmap.SplatRasterizer Class Reference

Public Member Functions

 SplatRasterizer (SplatData splatData)
 
void DecayFloodFill (float decayMultiplier)
 flood fills from every pixel whose value is are greater than 0. This creates a nice blur like effect. Useful for making thick lines from the generated map More...
 
void ApplyCurve (AnimationCurve curve)
 
void DrawLine (Vector2 start, Vector2 end, float value)
 Draws a single pixel thick line. Values are normalized [0..1] More...
 
void DrawCircle (Vector2 center, float radius01, float value)
 

Detailed Description

Definition at line 6 of file SplatRasterizer.cs.

Member Function Documentation

◆ DecayFloodFill()

void DungeonArchitect.Splatmap.SplatRasterizer.DecayFloodFill ( float  decayMultiplier)

flood fills from every pixel whose value is are greater than 0. This creates a nice blur like effect. Useful for making thick lines from the generated map

Parameters
splatData
decay

Definition at line 39 of file SplatRasterizer.cs.

◆ DrawLine()

void DungeonArchitect.Splatmap.SplatRasterizer.DrawLine ( Vector2  start,
Vector2  end,
float  value 
)

Draws a single pixel thick line. Values are normalized [0..1]

Parameters
start
end

Definition at line 135 of file SplatRasterizer.cs.


The documentation for this class was generated from the following file: