mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-03 19:55:54 +00:00
Upgrade to Godot 4.5.1
This commit is contained in:
parent
9f644c9c5c
commit
0b9ae63f77
37 changed files with 82 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/// 1.5.1
|
||||
/// 1.6.0
|
||||
/// ////////////////////////////////////////////////
|
||||
/// THIS FILE HAS BEEN GENERATED.
|
||||
/// THE CHANGES IN THIS FILE WILL BE OVERWRITTEN
|
||||
|
|
@ -967,9 +967,17 @@ internal class DebugDraw3DConfig : _DebugDrawInstanceWrapper_
|
|||
|
||||
public DebugDraw3DConfig() : this((GodotObject)ClassDB.Instantiate("DebugDraw3DConfig")) { }
|
||||
|
||||
public enum CullingMode : long
|
||||
{
|
||||
Disabled = 0,
|
||||
Rough = 1,
|
||||
Precise = 2,
|
||||
}
|
||||
|
||||
private static readonly StringName __prop_freeze_3d_render = "freeze_3d_render";
|
||||
private static readonly StringName __prop_visible_instance_bounds = "visible_instance_bounds";
|
||||
private static readonly StringName __prop_use_frustum_culling = "use_frustum_culling";
|
||||
private static readonly StringName __prop_frustum_culling_mode = "frustum_culling_mode";
|
||||
private static readonly StringName __prop_frustum_length_scale = "frustum_length_scale";
|
||||
private static readonly StringName __prop_force_use_camera_from_scene = "force_use_camera_from_scene";
|
||||
private static readonly StringName __prop_geometry_render_layers = "geometry_render_layers";
|
||||
|
|
@ -994,6 +1002,12 @@ internal class DebugDraw3DConfig : _DebugDrawInstanceWrapper_
|
|||
set => ClassDB.ClassSetProperty(Instance, __prop_use_frustum_culling, value);
|
||||
}
|
||||
|
||||
public DebugDraw3DConfig.CullingMode FrustumCullingMode
|
||||
{
|
||||
get => (DebugDraw3DConfig.CullingMode)(long)ClassDB.ClassGetProperty(Instance, __prop_frustum_culling_mode);
|
||||
set => ClassDB.ClassSetProperty(Instance, __prop_frustum_culling_mode, (long)value);
|
||||
}
|
||||
|
||||
public float FrustumLengthScale
|
||||
{
|
||||
get => (float)ClassDB.ClassGetProperty(Instance, __prop_frustum_length_scale);
|
||||
|
|
@ -1052,6 +1066,8 @@ internal class DebugDraw3DScopeConfig : _DebugDrawInstanceWrapper_, IDisposable
|
|||
private static readonly StringName __get_text_outline_size = "get_text_outline_size";
|
||||
private static readonly StringName __set_text_font = "set_text_font";
|
||||
private static readonly StringName __get_text_font = "get_text_font";
|
||||
private static readonly StringName __set_text_fixed_size = "set_text_fixed_size";
|
||||
private static readonly StringName __get_text_fixed_size = "get_text_fixed_size";
|
||||
// Additional custom statics
|
||||
private static readonly StringName ___manual_unregister = "_manual_unregister";
|
||||
|
||||
|
|
@ -1461,6 +1477,46 @@ internal class DebugDraw3DScopeConfig : _DebugDrawInstanceWrapper_, IDisposable
|
|||
}
|
||||
}
|
||||
|
||||
public DebugDraw3DScopeConfig SetTextFixedSize(bool value)
|
||||
{
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
if (_DebugDrawUtils_.IsCallEnabled)
|
||||
#endif
|
||||
{
|
||||
#if (!DEBUG || FORCED_DD3D) || (DEBUG && !FORCED_DD3D)
|
||||
return (DebugDraw3DScopeConfig)_DebugDrawUtils_.CreateWrapperFromObject((GodotObject)Instance?.Call(__set_text_fixed_size, value));
|
||||
#endif
|
||||
}
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
else
|
||||
#endif
|
||||
{
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
return default;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetTextFixedSize()
|
||||
{
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
if (_DebugDrawUtils_.IsCallEnabled)
|
||||
#endif
|
||||
{
|
||||
#if (!DEBUG || FORCED_DD3D) || (DEBUG && !FORCED_DD3D)
|
||||
return (bool)(Instance?.Call(__get_text_fixed_size));
|
||||
#endif
|
||||
}
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
else
|
||||
#endif
|
||||
{
|
||||
#if !DEBUG && !FORCED_DD3D
|
||||
return default;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue