Class AreaExtractor
Inheritance
object
AreaExtractor
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.MapGraph
Syntax
public class AreaExtractor
Constructors
AreaExtractor()
Declaration
[Obsolete("Will probably be removed version 2.0. Please use the other constructor.")]
public AreaExtractor()
AreaExtractor(Func<Area>)
Declaration
public AreaExtractor(Func<Area> newArea)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult><Area> | newArea |
Properties
Areas
Declaration
public Area[] Areas { get; }
Property Value
Type | Description |
---|---|
Area[] |
ColorToExtract
Declaration
public Color32 ColorToExtract { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Color32 |
ConnectDiagonals
Declaration
public bool ConnectDiagonals { get; set; }
Property Value
Type | Description |
---|---|
bool |
InnerAreas
Declaration
public Area[] InnerAreas { get; }
Property Value
Type | Description |
---|---|
Area[] |
MaxAreaSize
Declaration
public int MaxAreaSize { get; set; }
Property Value
Type | Description |
---|---|
int |
MinAreaSize
Declaration
public int MinAreaSize { get; set; }
Property Value
Type | Description |
---|---|
int |
OuterAreas
Declaration
public Area[] OuterAreas { get; }
Property Value
Type | Description |
---|---|
Area[] |
Methods
ExtractAreas(TextureData)
Declaration
public void ExtractAreas(TextureData textureData)
Parameters
Type | Name | Description |
---|---|---|
TextureData | textureData |
Reset()
Declaration
public void Reset()