Namespace InsaneScatterbrain.MapGraph
Classes
AddFloatsNode
AddFloatToVector2Node
AddFloatToVector3Node
AddIntsNode
AddIntToVector2IntNode
AddIntToVector3IntNode
AddRandomEdgesNode
Takes random edges from the source graph and adds them to the area graph.
AddVector2IntsNode
AddVector2sNode
AddVector3IntsNode
AddVector3sNode
ApplyMaskNode
Applies a mask to a texture, meaning that it replaces colors with transparency if their position is masked.
Area
Represents a collection of adjacent points that form a single area.
AreaExtractor
AreaGraph
A graph of connected areas.
AreaGraphBuilder
Builder to create connected area graphs of lists of areas.
AreaGraphEdge
AreaGraphEdgePool
AreaGraphPool
AreaPool
AreasCentroidPointsNode
Gets the center points from the given areas.
AreasSpecialBorderPointsNode
AreasToPointsNode
Outputs all the points that make up the given areas.
BasicMathOperationNode<T>
BasicMathOperationNode<T1, T2, TOut>
BspLeafCenterPointsNode
Gets the center points for each BSP leaf node.
BspNode
Represents a node in a BSP tree.
BspNodePool
BspTree
A binary space partitioning tree.
BspTreePool
CellularAutomataSmoothingNewNode
Applies cellular automata smoothing on the provided texture.
CellularAutomataSmoothingNode
Applies cellular automata smoothing on the provided texture. This implementation is here for legacy purposes so the new one wouldn't break any existing graphs depending on it. The implementation is less accurate than the new one and you'll probably want to use that one instead.
ChangeTextureSizeNode
Changes the texture's size by the specified amount.
ClampFloatsNode
ClampIntsNode
CollectionPool<TCollection, TValue>
ConnectAreaGraphCentroidsNode
Pairs the centroid positions of each connected area pair in an area graph.
ConnectAreaGraphClosestBorderPointsNode
Pairs the closest border positions of each connected area pair in an area graph.
ConnectAreaGraphRandomPointsNode
Pairs random positions of each connected area pair in an area graph.
ConnectedPointsToPointsNode
Unpairs the connected points and returns them in a single set, any duplicates are omitted.
ConvertTextureToTilemapNode
Generates a tilemap from a texture.
CopyTilemapDataNode
Copies the tilemap data from the TilemapData object over to the Tilemap instance.
CornerPointsNode
Finds corner points out of the set of points and outputs those points.
A corner point is defined as a point in the set of input points that has at least one diagonal neighbour point that isn't in the set of input points and the two neighbour points they share are either both in the input set or neither of them are.
CurrentOrEmptyTextureNode
DataToTextureNode
Converts texture data to texture object.
DictionaryPool<TDictionary, TKey, TValue>
DivideFloatsNode
DivideIntsNode
DivideVector2ByFloatNode
DivideVector2IntByIntNode
DivideVector2IntsNode
DivideVector2sNode
DivideVector3ByFloatNode
DivideVector3IntByIntNode
DivideVector3IntsNode
DivideVector3sNode
DrawAreasNode
Draws all the points of the areas provided.
DrawBorderNode
Draws a border of the given color on the other edge of the texture.
DrawCirclesNode
Draws circles around the provided center points.
DrawConnectionsBiasedRandomWalkNode
Draws connecting lines between each pair of points.
DrawGridNode
Draws grid lines onto a texture.
DrawManhattanConnectionsNode
Draws connecting lines between each pair of points, using only horizontal and vertical lines.
DrawNoiseThresholdNode
Fills the texture with the given color for each pixel that's above (or below) a threshold.
DrawOutlineNode
Draws outlines around colored areas (meaning the non-transparent parts).
DrawPointsNode
Applies the color to the given pixel positions.
DrawRectsNode
Draws rectangles on the texture.
DrawShortestPathNode
Draws connecting lines between each pair of points.
EmptyTextureNode
ExtractAreasNode
Extracts areas of a certain color from a texture.
ExtractColorNode
ExtractPointsNode
ExtractPointsWithNeighboursNode
FastNoiseEnum
FlipTextureNode
Flips the texture on the X and/or Y axis.
GenerateAreaGraphNode
Generates a connected area graph from the given areas.
GenerateMstAreaGraphNode
Generates a minimum spanning tree area graph from the given areas connected area graph.
GenerateRstAreaGraphNode
Generates a random spanning tree area graph from the given areas connected area graph.
InvertMaskNode
Inverts the given masks, meaning it masks the unmasked points and vice versa.
ListPool<TValue>
LoadTextureData
MapGraphGraph
MapGraphTilemapPrefab
Mask
Represents a collection of points that are masked. Usually used to determine whether something is allowed to be placed on a certain position or not.
MaskPool
MaxFloatsNode
MaxIntsNode
MergeAreasNode
Merges two sets of areas into one. Any overlapping areas will be merged into a single area.
MergeMasksNode
Merges two masks together into a single mask.
MergePointPairsNode
MergePointsNode
Merges two arrays of points together into a single set.
MergeTilemapsNode
Merges two tilemaps together. Tiles in tilemap B overwrite tiles in tilemap A.
MinFloatsNode
MinIntsNode
MultiplyFloatsNode
MultiplyIntsNode
MultiplyVector2ByFloatNode
MultiplyVector2IntByIntNode
MultiplyVector2IntsNode
MultiplyVector2sNode
MultiplyVector3ByFloatNode
MultiplyVector3IntByIntNode
MultiplyVector3IntsNode
MultiplyVector3sNode
NamedColor
Contains a color paired with a name to refer it by.
NamedColorNode
Provides a color from the graph's named color set, by the given name.
NamedColorSet
Set of named colors.
NoiseNode
ObjectType<TEntry, TObject>
Represents objects that consists of entries that represent a certain Object type.
ObjectTypeEntry<T>
Represents an entry for a certain object type.
ObjectTypeSet<TType, TEntry, TObject>
ObjectTypeSetScriptableObject<TType, TEntry, TObject>
Object type set stored as a scriptable object.
OpenObjectTypeSet<TType, TEntry, TObject>
A less restrictive version of the object type set, for protected use.
Outliner
Calculates points that create an outline around a set of points.
PerlinNoiseFillTextureNode
Fills the texture with a random Perlin noise pattern.
PointsToAreasNode
Converts each point in the points set to its own area.
PoolInitializer
PowerNode
PrefabSet
Contains prefab types by name. The names can be used to associate them with a named color.
PrefabType
A collection of prefab entries.
PrefabTypeEntry
Entry for a prefab type.
RandomBoolNode
Outputs random boolean value.
RandomBspRoomsNode
Generates a room/rectangle within the bounds of each BSP leaf node.
RandomBspTreeNode
Generates a random binary space partitioning tree.
RandomColorNode
Outputs a random color.
RandomExtensions
RandomFloatNode
Outputs a random float value.
RandomIntNode
Outputs a random integer value.
RandomlyFillTextureNode
Randomly fills pixels with the given color.
RandomlyStampTilemapsNode
Randomly stamps the given tilemap onto the the texture. Useful when you want to use pre-defined tilemap chunks to generate maps from.
RandomNode<T>
Base class for nodes that return a random value.
RandomPointsNode
Provides a set of random points within the given bounds.
RandomPointsPerAreaNode
RandomRectsNode
Creates random rectangles within the given bounds.
RandomRngStateNode
Outputs a randomized RNG state.
RandomVector2IntNode
Outputs a random Vector2Int value.
RandomVector2Node
Outputs a random Vector2 value.
RandomVector3IntNode
Outputs a random Vector3Int value.
RandomVector3Node
Outputs a random Vector3 value.
RandomWalkerNode
Uses a random walk algorithm to draw a random path onto a texture.
RangeRandomNode<T>
Base class for nodes that return a random value, between a given min. and max. value.
RectCenterPointsNode
Gets the center points from rectangles.
RectsToAreasNode
Generates an area for each rectangle in the set that contains all the points within that rectangle.
ReplaceColorNode
Replaces all pixels of one color with another color.
ReplaceGameObjectChildrenNode
Destroys all children from the parent and replaces them with the provided children.
ResizeTextureNode
Resizes a texture.
RotateTextureNode
Rotates a texture around its center.
SaveData
SaveTextureData
ScaleTextureNode
Scales the texture by the given ratio.
ScaleTextureToNode
Scales the texture to the given size.
ScaleTextureVector2Node
Scales the texture by the given ratio.
ShiftTextureNode
Moves all the pixels inside the texture by the given amount inside the texture. Pixels that would "fall off" will be placed back onto the other side of the texture.
SplitConnectionsManhattanNode
SquareRootNode
StackPool<T>
StampNode
Stamps one texture on top of another.
SubtractFloatFromVector2Node
SubtractFloatFromVector3Node
SubtractFloatsNode
SubtractIntFromVector2IntNode
SubtractIntFromVector3IntNode
SubtractIntsNode
SubtractMaskNode
Subtracts one mask from another.
SubtractVector2IntsNode
SubtractVector2sNode
SubtractVector3IntsNode
SubtractVector3sNode
TextureData
Contains texture data. This is used to be able to manipulate texture data without requiring access to the Unity API, which is not possible on any thread that is not the main thread.
TextureData.Color32ArrayFacade
TextureDataDrawingExtensions
TextureDataExtensions
TextureDataPool
TextureSizeNode
Outputs the texture's width and height.
TextureToChildGameObjectsNode
TextureToDataNode
Converts texture to a texture data object.
TextureToGameObjectsNode
Generates the GameObjects from the prefab set, based on the texture.
TextureToMaskNode
Create a mask from the texture. Any non-transparent pixels will be considered to be masked.
TextureToNoiseDataNode
TextureToTilemapNode
Generates a tilemap from a texture.
TilemapData
Contains tilemap data. This is used to be able to manipulate tilemap data without requiring access to the Unity API, which is not possible on any thread that is not the main thread.
TilemapDataPool
TilemapSet
Contains tilemap types by name. The names can be used to associate them with a named color.
TilemapToDataNode
Converts tilemap to a tilemap data object.
TilemapToTextureNode
Generates a texture from a tilemap. Tile names are used to lookup the associated color from the graph's named color set.
TilemapType
A collection of tilemap entries.
TilemapTypeEntry
Entry for a tilemap type.
Tileset
Contains tile types by name. The names can be used to associate them with a named color.
TileType
A collection of tile entries.
TileTypeEntry
Entry for a tile type.
TransparentColorNode
Provides a transparent color.
Vector2IntComparer
Vector2IntFromFloats
Creates a Vector2Int from two floats. The floats are rounded to int.
Vector2IntFromInts
Creates a Vector2Int from to integers.
Vector2IntToInts
Splits a Vector2Int up into its components.
Vector2IntToVector2
Converts a Vector2Int to a Vector2.
Vector3IntComparer
WaveformFunctionCollapseNode
Takes an training sample texture and generates a texture of specified size that is locally similar to that sample texture.
Interfaces
IObjectType<TEntry, TObject>
Represents objects that consists of entries that represent a certain Object type.
IObjectTypeEntry<T>
Represents an entry for a certain object type.
IObjectTypeSet<TType, TObject>
Collection of different object types.