MaterialMesh
Extends: BorderedMesh < MarchingSquaresMesh < MeshInstance2D
Description
Material Mesh is the visual object that draws the Materials for Dungeondraft.
Properties
ShaderMaterial | ShaderMaterial |
Texture | TileTexture |
Methods
ShaderMaterial | InitShaderMaterial ( ) |
void | SetTileTexture ( Texture texture ) |
Property Descriptions
- ShaderMaterial ShaderMaterial:
The Godot Material used to shade this Material. Note that Godot Material is not the same concept as a Dungeondraft Material. The identical name is a coincidence.
- Texture TileTexture:
The tiling texture for this material. Read only. Set using SetTileTexture().
Method Descriptions
- ShaderMaterial InitShaderMaterial ( ):
Called automatically to set up the shader.
- void SetTileTexture ( Texture texture ):
Change the material's texture and its border if applicable.