Class TilemapToTextureNode
Generates a texture from a tilemap. Tile names are used to lookup the associated color from the graph's named color set.
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
[ScriptNode("Tilemap To Texture", "Tilemaps", true)]
[Serializable]
public class TilemapToTextureNode : ProcessorNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Properties
TextureData
Gets the latest generated texture data. Only available in the editor.
Declaration
public TextureData TextureData { get; }
Property Value
Type | Description |
---|---|
TextureData |
Methods
OnProcessMainThread()
Contains all the processing logic of this node that must be executed on the main thread. Called by Process after OnProcess
Declaration
protected override void OnProcessMainThread()
Overrides
OnProcessMainThreadCoroutine()
Contains all the processing logic of this node. Called by Process.
Declaration
protected override IEnumerator OnProcessMainThreadCoroutine()
Returns
Type | Description |
---|---|
IEnumerator |