High level GDNative
Single header GDNative high level API for C/C++
|
Helper functions to get values directly from a godot_variant
More...
Functions | |
HGDN_DECL godot_bool | hgdn_variant_get_bool (const godot_variant *var) |
HGDN_DECL uint64_t | hgdn_variant_get_uint (const godot_variant *var) |
HGDN_DECL int64_t | hgdn_variant_get_int (const godot_variant *var) |
HGDN_DECL double | hgdn_variant_get_real (const godot_variant *var) |
HGDN_DECL godot_vector2 | hgdn_variant_get_vector2 (const godot_variant *var) |
HGDN_DECL godot_vector3 | hgdn_variant_get_vector3 (const godot_variant *var) |
HGDN_DECL godot_rect2 | hgdn_variant_get_rect2 (const godot_variant *var) |
HGDN_DECL godot_plane | hgdn_variant_get_plane (const godot_variant *var) |
HGDN_DECL godot_quat | hgdn_variant_get_quat (const godot_variant *var) |
HGDN_DECL godot_aabb | hgdn_variant_get_aabb (const godot_variant *var) |
HGDN_DECL godot_basis | hgdn_variant_get_basis (const godot_variant *var) |
HGDN_DECL godot_transform2d | hgdn_variant_get_transform2d (const godot_variant *var) |
HGDN_DECL godot_transform | hgdn_variant_get_transform (const godot_variant *var) |
HGDN_DECL godot_color | hgdn_variant_get_color (const godot_variant *var) |
HGDN_DECL godot_node_path | hgdn_variant_get_node_path (const godot_variant *var) |
HGDN_DECL godot_rid | hgdn_variant_get_rid (const godot_variant *var) |
HGDN_DECL godot_object * | hgdn_variant_get_object (const godot_variant *var) |
HGDN_DECL godot_dictionary | hgdn_variant_get_dictionary (const godot_variant *var) |
HGDN_DECL godot_array | hgdn_variant_get_array (const godot_variant *var) |
HGDN_DECL hgdn_string | hgdn_variant_get_string (const godot_variant *var) |
HGDN_DECL hgdn_wide_string | hgdn_variant_get_wide_string (const godot_variant *var) |
HGDN_DECL hgdn_byte_array | hgdn_variant_get_byte_array (const godot_variant *var) |
HGDN_DECL hgdn_int_array | hgdn_variant_get_int_array (const godot_variant *var) |
HGDN_DECL hgdn_real_array | hgdn_variant_get_real_array (const godot_variant *var) |
HGDN_DECL hgdn_vector2_array | hgdn_variant_get_vector2_array (const godot_variant *var) |
HGDN_DECL hgdn_vector3_array | hgdn_variant_get_vector3_array (const godot_variant *var) |
HGDN_DECL hgdn_color_array | hgdn_variant_get_color_array (const godot_variant *var) |
HGDN_DECL hgdn_string_array | hgdn_variant_get_string_array (const godot_variant *var) |
HGDN_DECL godot_bool | hgdn_variant_get_bool_own (godot_variant var) |
HGDN_DECL uint64_t | hgdn_variant_get_uint_own (godot_variant var) |
HGDN_DECL int64_t | hgdn_variant_get_int_own (godot_variant var) |
HGDN_DECL double | hgdn_variant_get_real_own (godot_variant var) |
HGDN_DECL godot_vector2 | hgdn_variant_get_vector2_own (godot_variant var) |
HGDN_DECL godot_vector3 | hgdn_variant_get_vector3_own (godot_variant var) |
HGDN_DECL godot_rect2 | hgdn_variant_get_rect2_own (godot_variant var) |
HGDN_DECL godot_plane | hgdn_variant_get_plane_own (godot_variant var) |
HGDN_DECL godot_quat | hgdn_variant_get_quat_own (godot_variant var) |
HGDN_DECL godot_aabb | hgdn_variant_get_aabb_own (godot_variant var) |
HGDN_DECL godot_basis | hgdn_variant_get_basis_own (godot_variant var) |
HGDN_DECL godot_transform2d | hgdn_variant_get_transform2d_own (godot_variant var) |
HGDN_DECL godot_transform | hgdn_variant_get_transform_own (godot_variant var) |
HGDN_DECL godot_color | hgdn_variant_get_color_own (godot_variant var) |
HGDN_DECL godot_node_path | hgdn_variant_get_node_path_own (godot_variant var) |
HGDN_DECL godot_rid | hgdn_variant_get_rid_own (godot_variant var) |
HGDN_DECL godot_object * | hgdn_variant_get_object_own (godot_variant var) |
HGDN_DECL godot_dictionary | hgdn_variant_get_dictionary_own (godot_variant var) |
HGDN_DECL godot_array | hgdn_variant_get_array_own (godot_variant var) |
HGDN_DECL hgdn_string | hgdn_variant_get_string_own (godot_variant var) |
HGDN_DECL hgdn_wide_string | hgdn_variant_get_wide_string_own (godot_variant var) |
HGDN_DECL hgdn_byte_array | hgdn_variant_get_byte_array_own (godot_variant var) |
HGDN_DECL hgdn_int_array | hgdn_variant_get_int_array_own (godot_variant var) |
HGDN_DECL hgdn_real_array | hgdn_variant_get_real_array_own (godot_variant var) |
HGDN_DECL hgdn_vector2_array | hgdn_variant_get_vector2_array_own (godot_variant var) |
HGDN_DECL hgdn_vector3_array | hgdn_variant_get_vector3_array_own (godot_variant var) |
HGDN_DECL hgdn_color_array | hgdn_variant_get_color_array_own (godot_variant var) |
HGDN_DECL hgdn_string_array | hgdn_variant_get_string_array_own (godot_variant var) |
The *_own
functions own the passed argument, destroying it.