#include <particles.h>
Public Types | |
enum | Variable { VAR_LIFETIME =VS::PARTICLE_LIFETIME, VAR_SPREAD =VS::PARTICLE_SPREAD, VAR_GRAVITY =VS::PARTICLE_GRAVITY, VAR_LINEAR_VELOCITY =VS::PARTICLE_LINEAR_VELOCITY, VAR_ANGULAR_VELOCITY =VS::PARTICLE_ANGULAR_VELOCITY, VAR_LINEAR_ACCELERATION =VS::PARTICLE_LINEAR_ACCELERATION, VAR_DRAG =VS::PARTICLE_RADIAL_ACCELERATION, VAR_TANGENTIAL_ACCELERATION =VS::PARTICLE_TANGENTIAL_ACCELERATION, VAR_DAMPING =VS::PARTICLE_DAMPING, VAR_INITIAL_SIZE =VS::PARTICLE_INITIAL_SIZE, VAR_FINAL_SIZE =VS::PARTICLE_FINAL_SIZE, VAR_INITIAL_ANGLE =VS::PARTICLE_INITIAL_ANGLE, VAR_HEIGHT =VS::PARTICLE_HEIGHT, VAR_HEIGHT_SPEED_SCALE =VS::PARTICLE_HEIGHT_SPEED_SCALE, VAR_MAX =VS::PARTICLE_VAR_MAX } |
Public Types inherited from GeometryInstance | |
enum | Flags { FLAG_VISIBLE =VS::INSTANCE_FLAG_VISIBLE, FLAG_CAST_SHADOW =VS::INSTANCE_FLAG_CAST_SHADOW, FLAG_RECEIVE_SHADOWS =VS::INSTANCE_FLAG_RECEIVE_SHADOWS, FLAG_BILLBOARD =VS::INSTANCE_FLAG_BILLBOARD, FLAG_BILLBOARD_FIX_Y =VS::INSTANCE_FLAG_BILLBOARD_FIX_Y, FLAG_DEPH_SCALE =VS::INSTANCE_FLAG_DEPH_SCALE, FLAG_VISIBLE_IN_ALL_ROOMS =VS::INSTANCE_FLAG_VISIBLE_IN_ALL_ROOMS, FLAG_USE_BAKED_LIGHT =VS::INSTANCE_FLAG_USE_BAKED_LIGHT, FLAG_MAX =VS::INSTANCE_FLAG_MAX } |
Public Types inherited from VisualInstance | |
enum | GetFacesFlags { FACES_SOLID =1, FACES_ENCLOSING =2, FACES_DYNAMIC =4 } |
Public Types inherited from Spatial | |
enum | { NOTIFICATION_TRANSFORM_CHANGED =SceneTree::NOTIFICATION_TRANSFORM_CHANGED, NOTIFICATION_ENTER_WORLD =41, NOTIFICATION_EXIT_WORLD =42, NOTIFICATION_VISIBILITY_CHANGED =43, NOTIFICATION_LOCAL_TRANSFORM_CHANGED =44 } |
Public Types inherited from Node | |
enum | PauseMode { PAUSE_MODE_INHERIT, PAUSE_MODE_STOP, PAUSE_MODE_PROCESS } |
enum | { NOTIFICATION_ENTER_TREE =10, NOTIFICATION_EXIT_TREE =11, NOTIFICATION_MOVED_IN_PARENT =12, NOTIFICATION_READY =13, NOTIFICATION_PAUSED =14, NOTIFICATION_UNPAUSED =15, NOTIFICATION_FIXED_PROCESS = 16, NOTIFICATION_PROCESS = 17, NOTIFICATION_PARENTED =18, NOTIFICATION_UNPARENTED =19, NOTIFICATION_INSTANCED =20 } |
Public Types inherited from Object | |
enum | ConnectFlags { CONNECT_DEFERRED =1, CONNECT_PERSIST =2, CONNECT_ONESHOT =4 } |
enum | { NOTIFICATION_POSTINITIALIZE =0, NOTIFICATION_PREDELETE =1 } |
Public Member Functions | |
AABB | get_aabb () const |
DVector< Face3 > | get_faces (uint32_t p_usage_flags) const |
void | set_amount (int p_amount) |
int | get_amount () const |
void | set_emitting (bool p_emitting) |
bool | is_emitting () const |
void | set_visibility_aabb (const AABB &p_aabb) |
AABB | get_visibility_aabb () const |
void | set_emission_half_extents (const Vector3 &p_half_extents) |
Vector3 | get_emission_half_extents () const |
void | set_emission_base_velocity (const Vector3 &p_base_velocity) |
Vector3 | get_emission_base_velocity () const |
void | set_emission_points (const DVector< Vector3 > &p_points) |
DVector< Vector3 > | get_emission_points () const |
void | set_gravity_normal (const Vector3 &p_normal) |
Vector3 | get_gravity_normal () const |
void | set_variable (Variable p_variable, float p_value) |
float | get_variable (Variable p_variable) const |
void | set_randomness (Variable p_variable, float p_randomness) |
float | get_randomness (Variable p_variable) const |
void | set_color_phases (int p_phases) |
int | get_color_phases () const |
void | set_color_phase_pos (int p_phase, float p_pos) |
float | get_color_phase_pos (int p_phase) const |
void | set_color_phase_color (int p_phase, const Color &p_color) |
Color | get_color_phase_color (int p_phase) const |
void | set_height_from_velocity (bool p_enable) |
bool | has_height_from_velocity () const |
void | set_material (const Ref< Material > &p_material) |
Ref< Material > | get_material () const |
void | set_emit_timeout (float p_timeout) |
float | get_emit_timeout () const |
void | set_use_local_coordinates (bool p_use) |
bool | is_using_local_coordinates () const |
void | start_emitting (float p_time) |
Public Member Functions inherited from GeometryInstance | |
void | set_flag (Flags p_flag, bool p_value) |
bool | get_flag (Flags p_flag) const |
void | set_draw_range_begin (float p_dist) |
float | get_draw_range_begin () const |
void | set_draw_range_end (float p_dist) |
float | get_draw_range_end () const |
void | set_material_override (const Ref< Material > &p_material) |
Ref< Material > | get_material_override () const |
void | set_baked_light_texture_id (int p_id) |
int | get_baked_light_texture_id () const |
void | set_extra_cull_margin (float p_margin) |
float | get_extra_cull_margin () const |
Public Member Functions inherited from VisualInstance | |
RID | get_instance () const |
virtual AABB | get_transformed_aabb () const |
void | set_base (const RID &p_base) |
void | set_layer_mask (uint32_t p_mask) |
uint32_t | get_layer_mask () const |
Public Member Functions inherited from Spatial | |
Spatial * | get_parent_spatial () const |
Ref< World > | get_world () const |
void | set_translation (const Vector3 &p_translation) |
void | set_rotation (const Vector3 &p_euler_rad) |
void | set_rotation_deg (const Vector3 &p_euler_deg) |
void | set_scale (const Vector3 &p_scale) |
Vector3 | get_translation () const |
Vector3 | get_rotation () const |
Vector3 | get_rotation_deg () const |
Vector3 | get_scale () const |
void | set_transform (const Transform &p_transform) |
void | set_global_transform (const Transform &p_transform) |
Transform | get_transform () const |
Transform | get_global_transform () const |
void | set_as_toplevel (bool p_enabled) |
bool | is_set_as_toplevel () const |
void | set_disable_gizmo (bool p_enabled) |
void | update_gizmo () |
void | set_gizmo (const Ref< SpatialGizmo > &p_gizmo) |
Ref< SpatialGizmo > | get_gizmo () const |
_FORCE_INLINE_ bool | is_inside_world () const |
Transform | get_relative_transform (const Node *p_parent) const |
void | rotate (const Vector3 &p_normal, float p_radians) |
void | rotate_x (float p_radians) |
void | rotate_y (float p_radians) |
void | rotate_z (float p_radians) |
void | translate (const Vector3 &p_offset) |
void | scale (const Vector3 &p_ratio) |
void | global_rotate (const Vector3 &p_normal, float p_radians) |
void | global_translate (const Vector3 &p_offset) |
void | look_at (const Vector3 &p_target, const Vector3 &p_up_normal) |
void | look_at_from_pos (const Vector3 &p_pos, const Vector3 &p_target, const Vector3 &p_up_normal) |
void | set_notify_local_transform (bool p_enable) |
bool | is_local_transform_notification_enabled () const |
void | orthonormalize () |
void | set_identity () |
void | show () |
void | hide () |
bool | is_visible () const |
bool | is_hidden () const |
void | set_hidden (bool p_hidden) |
Public Member Functions inherited from Node | |
StringName | get_name () const |
void | set_name (const String &p_name) |
void | add_child (Node *p_child, bool p_legible_unique_name=false) |
void | remove_child (Node *p_child) |
int | get_child_count () const |
Node * | get_child (int p_index) const |
bool | has_node (const NodePath &p_path) const |
Node * | get_node (const NodePath &p_path) const |
Node * | find_node (const String &p_mask, bool p_recursive=true, bool p_owned=true) const |
bool | has_node_and_resource (const NodePath &p_path) const |
Node * | get_node_and_resource (const NodePath &p_path, RES &r_res) const |
Node * | get_parent () const |
_FORCE_INLINE_ SceneTree * | get_tree () const |
_FORCE_INLINE_ bool | is_inside_tree () const |
bool | is_a_parent_of (const Node *p_node) const |
bool | is_greater_than (const Node *p_node) const |
NodePath | get_path () const |
NodePath | get_path_to (const Node *p_node) const |
void | add_to_group (const StringName &p_identifier, bool p_persistent=false) |
void | remove_from_group (const StringName &p_identifier) |
bool | is_in_group (const StringName &p_identifier) const |
void | get_groups (List< GroupInfo > *p_groups) const |
void | move_child (Node *p_child, int p_pos) |
void | raise () |
void | set_owner (Node *p_owner) |
Node * | get_owner () const |
void | get_owned_by (Node *p_by, List< Node * > *p_owned) |
void | remove_and_skip () |
int | get_index () const |
void | print_tree () |
void | set_filename (const String &p_filename) |
String | get_filename () const |
void | set_editable_instance (Node *p_node, bool p_editable) |
bool | is_editable_instance (Node *p_node) const |
void | set_editable_instances (const HashMap< NodePath, int > &p_editable_instances) |
HashMap< NodePath, int > | get_editable_instances () const |
void | propagate_notification (int p_notification) |
void | set_fixed_process (bool p_process) |
float | get_fixed_process_delta_time () const |
bool | is_fixed_processing () const |
void | set_process (bool p_process) |
float | get_process_delta_time () const |
bool | is_processing () const |
void | set_process_input (bool p_enable) |
bool | is_processing_input () const |
void | set_process_unhandled_input (bool p_enable) |
bool | is_processing_unhandled_input () const |
void | set_process_unhandled_key_input (bool p_enable) |
bool | is_processing_unhandled_key_input () const |
int | get_position_in_parent () const |
Node * | duplicate (bool p_use_instancing=false) const |
Node * | duplicate_and_reown (const Map< Node *, Node * > &p_reown_map) const |
void | set_scene_instance_state (const Ref< SceneState > &p_state) |
Ref< SceneState > | get_scene_instance_state () const |
void | set_scene_inherited_state (const Ref< SceneState > &p_state) |
Ref< SceneState > | get_scene_inherited_state () const |
void | set_scene_instance_load_placeholder (bool p_enable) |
bool | get_scene_instance_load_placeholder () const |
void | replace_by (Node *p_node, bool p_keep_data=false) |
void | set_pause_mode (PauseMode p_mode) |
PauseMode | get_pause_mode () const |
bool | can_process () const |
String | validate_child_name (const String &p_name) const |
void | queue_delete () |
void | force_parent_owned () |
void | get_argument_options (const StringName &p_function, int p_idx, List< String > *r_options) const |
void | clear_internal_tree_resource_paths () |
_FORCE_INLINE_ Viewport * | get_viewport () const |
Public Member Functions inherited from Object | |
_FORCE_INLINE_ void | _change_notify (const char *p_what="") |
bool | _is_gpl_reversed () const |
_FORCE_INLINE_ ObjectID | get_instance_ID () const |
void | add_change_receptor (Object *p_receptor) |
void | remove_change_receptor (Object *p_receptor) |
template<class T > | |
T * | cast_to () |
template<class T > | |
const T * | cast_to () const |
virtual String | get_type () const |
virtual String | get_save_type () const |
virtual bool | is_type (const String &p_type) const |
virtual bool | is_type_ptr (void *p_ptr) const |
_FORCE_INLINE_ const StringName & | get_type_name () const |
void | set (const StringName &p_name, const Variant &p_value, bool *r_valid=NULL) |
Variant | get (const StringName &p_name, bool *r_valid=NULL) const |
void | get_property_list (List< PropertyInfo > *p_list, bool p_reversed=false) const |
bool | has_method (const StringName &p_method) const |
void | get_method_list (List< MethodInfo > *p_list) const |
Variant | callv (const StringName &p_method, const Array &p_args) |
virtual Variant | call (const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
virtual void | call_multilevel (const StringName &p_method, const Variant **p_args, int p_argcount) |
virtual void | call_multilevel_reversed (const StringName &p_method, const Variant **p_args, int p_argcount) |
Variant | call (const StringName &p_name, VARIANT_ARG_LIST) |
void | call_multilevel (const StringName &p_name, VARIANT_ARG_LIST) |
void | notification (int p_notification, bool p_reversed=false) |
virtual Variant | getvar (const Variant &p_key, bool *r_valid=NULL) const |
virtual void | setvar (const Variant &p_key, const Variant &p_value, bool *r_valid=NULL) |
void | set_script (const RefPtr &p_script) |
RefPtr | get_script () const |
bool | has_meta (const String &p_name) const |
void | set_meta (const String &p_name, const Variant &p_value) |
Variant | get_meta (const String &p_name) const |
void | get_meta_list (List< String > *p_list) const |
void | set_script_instance (ScriptInstance *p_instance) |
_FORCE_INLINE_ ScriptInstance * | get_script_instance () const |
void | add_user_signal (const MethodInfo &p_signal) |
void | emit_signal (const StringName &p_name, VARIANT_ARG_LIST) |
void | emit_signal (const StringName &p_name, const Variant **p_args, int p_argcount) |
void | get_signal_list (List< MethodInfo > *p_signals) const |
void | get_signal_connection_list (const StringName &p_signal, List< Connection > *p_connections) const |
void | get_all_signal_connections (List< Connection > *p_connections) const |
Error | connect (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method, const Vector< Variant > &p_binds=Vector< Variant >(), uint32_t p_flags=0) |
void | disconnect (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method) |
bool | is_connected (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method) const |
void | call_deferred (const StringName &p_method, VARIANT_ARG_LIST) |
void | set_block_signals (bool p_block) |
bool | is_blocking_signals () const |
Variant::Type | get_static_property_type (const StringName &p_property, bool *r_valid=NULL) const |
virtual void | get_translatable_strings (List< String > *p_strings) const |
StringName | XL_MESSAGE (const StringName &p_message) const |
StringName | tr (const StringName &p_message) const |
bool | is_queued_for_deletion () const |
_FORCE_INLINE_ void | set_message_translation (bool p_enable) |
_FORCE_INLINE_ bool | can_translate_messages () const |
void | clear_internal_resource_paths () |
Static Protected Member Functions | |
static void | _bind_methods () |
Static Protected Member Functions inherited from GeometryInstance | |
static void | _bind_methods () |
Static Protected Member Functions inherited from VisualInstance | |
static void | _bind_methods () |
Static Protected Member Functions inherited from Spatial | |
static void | _bind_methods () |
Static Protected Member Functions inherited from Node | |
static void | _bind_methods () |
Static Protected Member Functions inherited from Object | |
static String | _get_category () |
static void | _bind_methods () |
static void | get_valid_parents_static (List< String > *p_parents) |
static void | _get_valid_parents_static (List< String > *p_parents) |
Additional Inherited Members | |
Static Public Member Functions inherited from Node | |
static Vector< Variant > | make_binds (VARIANT_ARG_LIST) |
static void | print_stray_nodes () |
static void | set_human_readable_collision_renaming (bool p_enabled) |
static void | init_node_hrcr () |
Static Public Member Functions inherited from Object | |
static void | initialize_type () |
static _FORCE_INLINE_ void | register_custom_data_to_otdb () |
static void * | get_type_ptr_static () |
static void | get_inheritance_list_static (List< String > *p_inheritance_list) |
static String | get_type_static () |
static String | get_parent_type_static () |
static String | get_category_static () |
Public Attributes inherited from Object | |
bool | _is_queued_for_deletion |
Protected Member Functions inherited from GeometryInstance | |
void | _notification (int p_what) |
Protected Member Functions inherited from VisualInstance | |
void | _notification (int p_what) |
Protected Member Functions inherited from Spatial | |
_FORCE_INLINE_ void | set_ignore_transform_notification (bool p_ignore) |
_FORCE_INLINE_ void | _update_local_transform () const |
void | _notification (int p_what) |
void | _set_visible_ (bool p_visible) |
bool | _is_visible_ () const |
Protected Member Functions inherited from Node | |
void | _block () |
void | _unblock () |
void | _notification (int p_notification) |
virtual void | add_child_notify (Node *p_child) |
virtual void | remove_child_notify (Node *p_child) |
virtual void | move_child_notify (Node *p_child) |
void | _propagate_replace_owner (Node *p_owner, Node *p_by_owner) |
void | _add_child_nocheck (Node *p_child, const StringName &p_name) |
void | _set_owner_nocheck (Node *p_owner) |
void | _set_name_nocheck (const StringName &p_name) |
Protected Member Functions inherited from Object | |
virtual void | _initialize_typev () |
virtual bool | _setv (const StringName &p_name, const Variant &p_property) |
virtual bool | _getv (const StringName &p_name, Variant &r_property) const |
virtual void | _get_property_listv (List< PropertyInfo > *p_list, bool p_reversed) const |
virtual void | _notificationv (int p_notification, bool p_reversed) |
bool | _set (const StringName &p_name, const Variant &p_property) |
bool | _get (const StringName &p_name, Variant &r_property) const |
void | _get_property_list (List< PropertyInfo > *p_list) const |
void | _notification (int p_notification) |
void | cancel_delete () |
virtual void | _changed_callback (Object *p_changed, const char *p_prop) |
Variant | _call_bind (const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
Variant | _call_deferred_bind (const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
virtual const StringName * | _get_type_namev () const |
DVector< String > | _get_meta_list_bind () const |
Array | _get_property_list_bind () const |
Array | _get_method_list_bind () const |
void | _clear_internal_resource_paths (const Variant &p_var) |
Protected Attributes inherited from Object | |
_FORCE_INLINE_ bool(Object::*)(const StringName &p_name, Variant &r_ret) | _get_get () const) |
_FORCE_INLINE_ bool(Object::*)(const StringName &p_name, const Variant &p_property) | _get_set () const) |
_FORCE_INLINE_ void(Object::*)(List< PropertyInfo > *p_list) | _get_get_property_list () const) |
_FORCE_INLINE_ void(Object::*)(int) | _get_notification () const) |
Static Protected Attributes inherited from Object | |
static _FORCE_INLINE_ void(*)() | _get_bind_methods () |