class Diorite::DebugShape3D

Overview

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.

Direct Known Subclasses

Defined in:

diorite/nodes/debug_shape_3d.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(&block : self -> ) : self #

Class Method Detail

def self._godot_auto_register_class : Void #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


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

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


def self.godot_class_name : String #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


def self.godot_parent_class_name : String #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


Macro Detail

macro autoload(*args, **kwargs) #

DSL directives for in-body autoload configuration


macro autoload_node(*args, **kwargs) #

macro build(**kwargs, &block) #

macro create(**kwargs, &block) #

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.


def _godot_call_virtual(method_name : String, delta : Float64) : Void #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


def _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


def _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void #

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

Manages the immediate mesh lifecycle, material override (depth-tested vs on-top), and process-loop updates using Lapis::Core::FrameArena scratchpad buffers. Concrete subclasses (like DebugBox3D or DebugSphere3D) implement build_shape and build_shape_arena to generate their specific wireframe geometry.


def _process(delta : Float64) : Void #
Description copied from class Godot::Node

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


def _ready : Void #
Description copied from class Godot::Node

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


def color : Godot::Color #

Primary wireframe line color.


def color=(color : Godot::Color) #

Primary wireframe line color.


def draw_on_top : Bool #

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


def draw_on_top=(draw_on_top : Bool) #

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