|
Godot Nature of Code
1.2.0
Nature of Code implemented in Godot Engine
|
Simple "mesh" drawing. Can be a circle, square, custom drawing or custom texture. More...
Inherits Node2D.
Public Types | |
| enum class | TypeEnum { Circle , Square , Custom , Texture } |
| Mesh type enum value. More... | |
Public Member Functions | |
| delegate void | CustomDrawFunc (SimpleMesh pen) |
| Custom draw function definition More... | |
| SimpleMesh () | |
| Create a default light-cyan circle mesh. More... | |
Public Attributes | |
| Vector2 | MeshSize = new Vector2(40, 40) |
| Mesh size More... | |
| TypeEnum | MeshType |
| Mesh type More... | |
| CustomDrawFunc | CustomDrawMethod |
| Custom draw method More... | |
| Texture | CustomTexture |
| Custom texture More... | |
| Material | CustomMaterial |
| Custom material More... | |
Simple "mesh" drawing. Can be a circle, square, custom drawing or custom texture.
Definition at line 8 of file SimpleMesh.cs.
|
strong |
Mesh type enum value.
| Enumerator | |
|---|---|
| Circle | Circle mesh |
| Square | Square mesh |
| Custom | Custom mesh |
| Texture | Custom texture |
Definition at line 13 of file SimpleMesh.cs.
|
inline |
Create a default light-cyan circle mesh.
Definition at line 52 of file SimpleMesh.cs.
| delegate void Drawing.SimpleMesh.CustomDrawFunc | ( | SimpleMesh | pen | ) |
Custom draw function definition
| CustomDrawFunc Drawing.SimpleMesh.CustomDrawMethod |
Custom draw method
Definition at line 38 of file SimpleMesh.cs.
| Material Drawing.SimpleMesh.CustomMaterial |
Custom material
Definition at line 44 of file SimpleMesh.cs.
| Texture Drawing.SimpleMesh.CustomTexture |
Custom texture
Definition at line 41 of file SimpleMesh.cs.
| Vector2 Drawing.SimpleMesh.MeshSize = new Vector2(40, 40) |
Mesh size
Definition at line 32 of file SimpleMesh.cs.
| TypeEnum Drawing.SimpleMesh.MeshType |
Mesh type
Definition at line 35 of file SimpleMesh.cs.