This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Buffers; | |
| using System.Numerics; | |
| using System.Runtime.CompilerServices; | |
| using Utf8StringInterpolation; | |
| using Hexa.NET.ImGui; | |
| [InterpolatedStringHandler] | |
| public ref struct ImGuiGeneralTextHandler | |
| { | |
| private Utf8StringWriter<ArrayBufferWriter<byte>> _writer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [gd_scene load_steps=9 format=3 uid="uid://djnfyqm1dgdud"] | |
| [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_xlglh"] | |
| sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) | |
| ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) | |
| [sub_resource type="Sky" id="Sky_crest"] | |
| sky_material = SubResource("ProceduralSkyMaterial_xlglh") | |
| [sub_resource type="Environment" id="Environment_axu21"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Godot; | |
| using System.Dynamic; | |
| using Godot.Collections; | |
| public static class GodotDynamicExtensions | |
| { | |
| public static ExpandoObject ToExpandoObject(this Dictionary godotDict) | |
| { | |
| var expando = new ExpandoObject(); | |
| var expandoDict = (IDictionary<string, object>)expando; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Dynamic; | |
| using Godot; | |
| using Godot.Collections; | |
| public static class GodotDictionaryExtensions | |
| { | |
| public static ExpandoObject ToExpandoObject(this Dictionary godotDict) | |
| { | |
| var expando = new ExpandoObject(); | |
| var expandoDict = (IDictionary<string, object>)expando; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| shader_type canvas_item; | |
| const vec2 VERTICES[4] = vec2[](vec2(0.0),vec2(0.0,1.0),vec2(1.0),vec2(1.0,0.0)); | |
| varying vec2 originalUV; | |
| varying flat vec4 regionInfo; | |
| uniform int outline_size:hint_range(0,10) = 1; | |
| uniform vec4 outline_color:source_color = vec4(1.0); | |
| void vertex() { |