class Diorite::DebugGrid3D

Overview

Node representing an inspector-configurable 3D ground reference grid plane.

Defined in:

diorite/nodes/debug_nodes_3d.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Diorite::DebugShape3D

_exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _process(delta : Float64) : Void _process, _ready : Void _ready, apply_dictionary_properties!(dict : Godot::Dictionary) : Void apply_dictionary_properties!, color : Godot::Color color, color=(color : Godot::Color) color=, draw_on_top : Bool draw_on_top, draw_on_top=(draw_on_top : Bool) draw_on_top=, export_config_hash : UInt64 export_config_hash

Constructor methods inherited from class Diorite::DebugShape3D

new(&block : self -> ) : self new

Class methods inherited from class Diorite::DebugShape3D

_godot_has_virtual_method(method_name : String) : Bool _godot_has_virtual_method, _godot_register_node_class : Void _godot_register_node_class, godot_class_name : String godot_class_name, godot_parent_class_name : String godot_parent_class_name

Macros inherited from class Diorite::DebugShape3D

autoload(*args, **kwargs) autoload, autoload_node(*args, **kwargs) autoload_node, build(**kwargs, &block) build, create(**kwargs, &block) create

Constructor Detail

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

Class Method Detail

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

def self._godot_register_node_class : Void #

def self.godot_class_name : String #

def self.godot_parent_class_name : String #

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 Diorite::DebugShape3D

Dispatches inspector tool button clicks on this object.


def _godot_call_virtual(method_name : String, delta : Float64) : Void #
Description copied from class Diorite::DebugShape3D

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


def _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void #
Description copied from class Diorite::DebugShape3D

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


def _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void #
Description copied from class Diorite::DebugShape3D

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


def apply_dictionary_properties!(dict : Godot::Dictionary) : Void #
Description copied from class Diorite::DebugShape3D

Populates @[Export] properties on this object from a Godot::Dictionary.


def export_config_hash : UInt64 #
Description copied from class Diorite::DebugShape3D

Computes a deterministic 64-bit hash of all @[Export] properties on this object.


def size : Godot::Vector2 #

Width and depth dimensions for the grid plane.


def size=(size : Godot::Vector2) #

Width and depth dimensions for the grid plane.


def subdivisions : Int32 #

Number of grid subdivisions.


def subdivisions=(subdivisions : Int32) #

Number of grid subdivisions.