C# Class NoisyEdges, Unity-polygon-map-generation

Show file Open project: Keshire/Unity-polygon-map-generation Class Usage Examples

Public Properties

Property Type Description
NOISY_LINE_TRADEOFF float
path0 List>.Dictionary
path1 List>.Dictionary
points List

Public Methods

Method Description
NoisyEdges ( ) : UnityEngine
buildNoisyEdges ( Map, map, Lava, lava, System random ) : void
buildNoisyLineSegments ( System random, Vector2 A, Vector2 B, Vector2 C, Vector2 D, int minLength ) : List
subdivide ( Vector2 A, Vector2 B, Vector2 C, Vector2 D, int minLength, System random ) : void

Method Details

NoisyEdges() public method

public NoisyEdges ( ) : UnityEngine
return UnityEngine

buildNoisyEdges() public method

public buildNoisyEdges ( Map, map, Lava, lava, System random ) : void
map Map,
lava Lava,
random System
return void

buildNoisyLineSegments() public static method

public static buildNoisyLineSegments ( System random, Vector2 A, Vector2 B, Vector2 C, Vector2 D, int minLength ) : List
random System
A Vector2
B Vector2
C Vector2
D Vector2
minLength int
return List

subdivide() public static method

public static subdivide ( Vector2 A, Vector2 B, Vector2 C, Vector2 D, int minLength, System random ) : void
A Vector2
B Vector2
C Vector2
D Vector2
minLength int
random System
return void

Property Details

NOISY_LINE_TRADEOFF public static property

public static float NOISY_LINE_TRADEOFF
return float

path0 public property

public Dictionary> path0
return List>.Dictionary

path1 public property

public Dictionary> path1
return List>.Dictionary

points public static property

public static List points
return List