class Diorite::DebugShape3D

Overview

Inspector-configurable 3D debug shape node for placement directly in Godot scenes.

Supports live-previewing in the Godot Editor (@[Tool] mode) and updates wireframe geometry dynamically whenever properties are modified in the Inspector or script.

Direct Known Subclasses

Defined in:

diorite/nodes/debug_shape_3d.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self._godot_has_virtual_method(method_name : String) : Bool #

[View source]
def self.godot_class_name : String #

[View source]
def self.godot_parent_class_name : String #

[View source]

Instance Method Detail

def _godot_call_tool_button(button_name : String) : Void #
Description copied from class Godot::Object

Dispatches inspector tool button clicks on this object.


[View source]
def _godot_call_virtual(method_name : String, delta : Float64) : Void #
Description copied from class Godot::Object

Virtual method and property dispatch hooks overridden by class registration macros. Delta timestep is received with 64-bit precision (Float64).


[View source]
def _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void #
Description copied from class Godot::Object

Invoked by the GDExtension bridge when retrieving an exposed @export property.


[View source]
def _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void #
Description copied from class Godot::Object

Invoked by the GDExtension bridge when setting an exposed @export property.


[View source]
def _process(delta : Float64) : Void #
Description copied from class Godot::Node

Per-frame process callback receiving delta timestep in seconds (Float64).


[View source]
def _ready : Void #
Description copied from class Godot::Node

Lifecycle callback called when the node enters the active scene tree.


[View source]
def angle_deg : Float32 #

Field-of-view angle in degrees for VisionCone shapes.


[View source]
def angle_deg=(angle_deg : Float32) #

Field-of-view angle in degrees for VisionCone shapes.


[View source]
def coils : Int32 #

Number of complete spiral rotations for Spring shapes.


[View source]
def coils=(coils : Int32) #

Number of complete spiral rotations for Spring shapes.


[View source]
def color : Godot::Color #

Primary wireframe line color.


[View source]
def color=(color : Godot::Color) #

Primary wireframe line color.


[View source]
def draw_on_top : Bool #

When true, disables depth testing and renders with priority 127 on top of scene geometry.


[View source]
def draw_on_top=(draw_on_top : Bool) #

When true, disables depth testing and renders with priority 127 on top of scene geometry.


[View source]
def height : Float32 #

Vertical height for Cylinder and Capsule shapes.


[View source]
def height=(height : Float32) #

Vertical height for Cylinder and Capsule shapes.


[View source]
def radius : Float32 #

Radius for Sphere, Cylinder, Capsule, Gizmo, and Spring shapes.


[View source]
def radius=(radius : Float32) #

Radius for Sphere, Cylinder, Capsule, Gizmo, and Spring shapes.


[View source]
def range : Float32 #

Maximum sensory distance for VisionCone shapes.


[View source]
def range=(range : Float32) #

Maximum sensory distance for VisionCone shapes.


[View source]
def shape_type : Int32 #

Target shape type index corresponding to Shape3DType.


[View source]
def shape_type=(shape_type : Int32) #

Target shape type index corresponding to Shape3DType.


[View source]
def size : Godot::Vector3 #

Dimensions for Box, Plane, and Grid shapes.


[View source]
def size=(size : Godot::Vector3) #

Dimensions for Box, Plane, and Grid shapes.


[View source]
def subdivisions : Int32 #

Grid subdivision count for Grid shapes.


[View source]
def subdivisions=(subdivisions : Int32) #

Grid subdivision count for Grid shapes.


[View source]
def target : Godot::Vector3 #

Target vector coordinate for Line, Arrow, VisionCone, Spring, and Ruler shapes.


[View source]
def target=(target : Godot::Vector3) #

Target vector coordinate for Line, Arrow, VisionCone, Spring, and Ruler shapes.


[View source]