class

Godot::Node3D

Inherits Godot::Node < Godot::Object < Reference < Object

A 3D game object with spatial position, rotation, scale, and transform matrix.

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_gizmo(gizmo : Node3DGizmo) : Void
Source
basis
Source
basis=(v : Basis)
Source
clear_gizmos
Source
clear_subgizmo_selection
Source
force_update_transform
Source
get_basis
Source
get_gizmos
Source
get_global_basis
Source
get_global_position
Source
get_global_rotation
Source
get_global_rotation_degrees
Source
get_global_transform
Source
get_global_transform_interpolated
Source
get_parent_node_3d
Source
get_position
Source
get_quaternion
Source
get_rotation
Source
get_rotation_degrees
Source
get_rotation_edit_mode
Source
get_rotation_order
Source
get_scale
Source
get_transform
Source
get_visibility_parent
Source
get_world_3d
Source
global_basis
Source
global_basis=(v : Basis)
Source
global_position
Source
global_position=(v : Vector3)
Source
global_rotate(axis : Vector3, angle : Float64) : Void
Source
global_rotation
Source
global_rotation=(v : Vector3)
Source
global_rotation_degrees
Source
global_rotation_degrees=(v : Vector3)
Source
global_scale(scale : Vector3) : Void
Source
global_transform
Source
global_transform=(v : Transform3D)
Source
global_translate(offset : Vector3) : Void
Source
hide
Source
is_local_transform_notification_enabled
Source
is_scale_disabled
Source
is_set_as_top_level
Source
is_transform_notification_enabled
Source
is_visible
Source
is_visible_in_tree
Source
look_at(target : Vector3, up : Vector3, use_model_front : Bool) : Void
Source
look_at_from_position(position : Vector3, target : Vector3, up : Vector3, use_model_front : Bool) : Void
Source
orthonormalize
Source
position
Source
position=(v : Vector3)
Source
quaternion

Property quaternion getter

Source
quaternion=(val)

Property quaternion setter

Source
rotate(axis : Vector3, angle : Float64) : Void
Source
rotate_object_local(axis : Vector3, angle : Float64) : Void
Source
rotate_x(angle : Float64) : Void
Source
rotate_y(angle : Float64) : Void
Source
rotate_z(angle : Float64) : Void
Source
rotation
Source
rotation=(v : Vector3)
Source
rotation_degrees
Source
rotation_degrees=(v : Vector3)
Source
rotation_edit_mode

Property rotation_edit_mode getter

Source
rotation_edit_mode=(val : Int)

Property rotation_edit_mode setter

Source
rotation_order

Property rotation_order getter

Source
rotation_order=(val : Int)

Property rotation_order setter

Source
scale
Source
scale=(v : Vector3)
Source
scale_object_local(scale : Vector3) : Void
Source
set_as_top_level(enable : Bool) : Void
Source
set_basis(basis : Basis) : Void
Source
set_disable_scale(disable : Bool) : Void
Source
set_global_basis(basis : Basis) : Void
Source
set_global_position(position : Vector3) : Void
Source
set_global_rotation(euler_radians : Vector3) : Void
Source
set_global_rotation_degrees(euler_degrees : Vector3) : Void
Source
set_global_transform(global : Transform3D) : Void
Source
set_identity
Source
set_ignore_transform_notification(enabled : Bool) : Void
Source
set_notify_local_transform(enable : Bool) : Void
Source
set_notify_transform(enable : Bool) : Void
Source
set_position(position : Vector3) : Void
Source
set_quaternion(quaternion : Quaternion) : Void
Source
set_rotation(euler_radians : Vector3) : Void
Source
set_rotation_degrees(euler_degrees : Vector3) : Void
Source
set_rotation_edit_mode(edit_mode : Int64) : Void
Source
set_rotation_order(order : Int64) : Void
Source
set_scale(scale : Vector3) : Void
Source
set_subgizmo_selection(gizmo : Node3DGizmo, id : Int64, transform : Transform3D) : Void
Source
set_transform(local : Transform3D) : Void
Source
set_visibility_parent(path : NodePath) : Void
Source
set_visible(visible : Bool) : Void
Source
show
Source
to_global(local_point : Vector3) : Vector3
Source
to_local(global_point : Vector3) : Vector3
Source
top_level
Source
top_level=(v : Bool)
Source
transform
Source
transform=(v : Transform3D)
Source
translate(offset : Vector3) : Void
Source
translate_object_local(offset : Vector3) : Void
Source
update_gizmos
Source
visibility_parent

Property visibility_parent getter

Source
visibility_parent=(val)

Property visibility_parent setter

Source
visible
Source
visible=(v : Bool)
Source
visible?
Source

Nested types