Struct gdnative_physics::Physics2DServerSW [−][src]
pub struct Physics2DServerSW { /* fields omitted */ }core class Physics2DServerSW inherits Physics2DServer (unsafe).
Official documentation
See the documentation of this class in the Godot engine's official documentation.
Feature flag
This type is behind the gdnative crate's physics feature flag.
Class hierarchy
Physics2DServerSW inherits methods from:
Methods
impl Physics2DServerSW[src]
impl Physics2DServerSWpub unsafe fn line_shape_create(&mut self) -> Rid[src]
pub unsafe fn line_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn ray_shape_create(&mut self) -> Rid[src]
pub unsafe fn ray_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn segment_shape_create(&mut self) -> Rid[src]
pub unsafe fn segment_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn circle_shape_create(&mut self) -> Rid[src]
pub unsafe fn circle_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn rectangle_shape_create(&mut self) -> Rid[src]
pub unsafe fn rectangle_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn capsule_shape_create(&mut self) -> Rid[src]
pub unsafe fn capsule_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn convex_polygon_shape_create(&mut self) -> Rid[src]
pub unsafe fn convex_polygon_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn concave_polygon_shape_create(&mut self) -> Rid[src]
pub unsafe fn concave_polygon_shape_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn shape_set_data(&mut self, shape: Rid, data: Variant)[src]
pub unsafe fn shape_set_data(&mut self, shape: Rid, data: Variant)Inherited from Physics2DServer.
pub unsafe fn shape_get_type(&self, shape: Rid) -> Physics2DServerShapeType[src]
pub unsafe fn shape_get_type(&self, shape: Rid) -> Physics2DServerShapeTypeInherited from Physics2DServer.
pub unsafe fn shape_get_data(&self, shape: Rid) -> Variant[src]
pub unsafe fn shape_get_data(&self, shape: Rid) -> VariantInherited from Physics2DServer.
pub unsafe fn space_create(&mut self) -> Rid[src]
pub unsafe fn space_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn space_set_active(&mut self, space: Rid, active: bool)[src]
pub unsafe fn space_set_active(&mut self, space: Rid, active: bool)Inherited from Physics2DServer.
pub unsafe fn space_is_active(&self, space: Rid) -> bool[src]
pub unsafe fn space_is_active(&self, space: Rid) -> boolInherited from Physics2DServer.
pub unsafe fn space_set_param(&mut self, space: Rid, param: i64, value: f64)[src]
pub unsafe fn space_set_param(&mut self, space: Rid, param: i64, value: f64)Inherited from Physics2DServer.
pub unsafe fn space_get_param(&self, space: Rid, param: i64) -> f64[src]
pub unsafe fn space_get_param(&self, space: Rid, param: i64) -> f64Inherited from Physics2DServer.
pub unsafe fn space_get_direct_state(
&mut self,
space: Rid
) -> Option<Physics2DDirectSpaceState>[src]
pub unsafe fn space_get_direct_state(
&mut self,
space: Rid
) -> Option<Physics2DDirectSpaceState>Inherited from Physics2DServer.
pub unsafe fn area_create(&mut self) -> Rid[src]
pub unsafe fn area_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn area_set_space(&mut self, area: Rid, space: Rid)[src]
pub unsafe fn area_set_space(&mut self, area: Rid, space: Rid)Inherited from Physics2DServer.
pub unsafe fn area_get_space(&self, area: Rid) -> Rid[src]
pub unsafe fn area_get_space(&self, area: Rid) -> RidInherited from Physics2DServer.
pub unsafe fn area_set_space_override_mode(&mut self, area: Rid, mode: i64)[src]
pub unsafe fn area_set_space_override_mode(&mut self, area: Rid, mode: i64)Inherited from Physics2DServer.
pub unsafe fn area_get_space_override_mode(
&self,
area: Rid
) -> Physics2DServerAreaSpaceOverrideMode[src]
pub unsafe fn area_get_space_override_mode(
&self,
area: Rid
) -> Physics2DServerAreaSpaceOverrideModeInherited from Physics2DServer.
pub unsafe fn area_add_shape(
&mut self,
area: Rid,
shape: Rid,
transform: Transform2D
)[src]
pub unsafe fn area_add_shape(
&mut self,
area: Rid,
shape: Rid,
transform: Transform2D
)Inherited from Physics2DServer.
pub unsafe fn area_set_shape(&mut self, area: Rid, shape_idx: i64, shape: Rid)[src]
pub unsafe fn area_set_shape(&mut self, area: Rid, shape_idx: i64, shape: Rid)Inherited from Physics2DServer.
pub unsafe fn area_set_shape_transform(
&mut self,
area: Rid,
shape_idx: i64,
transform: Transform2D
)[src]
pub unsafe fn area_set_shape_transform(
&mut self,
area: Rid,
shape_idx: i64,
transform: Transform2D
)Inherited from Physics2DServer.
pub unsafe fn area_set_shape_disabled(
&mut self,
area: Rid,
shape_idx: i64,
disable: bool
)[src]
pub unsafe fn area_set_shape_disabled(
&mut self,
area: Rid,
shape_idx: i64,
disable: bool
)Inherited from Physics2DServer.
pub unsafe fn area_get_shape_count(&self, area: Rid) -> i64[src]
pub unsafe fn area_get_shape_count(&self, area: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn area_get_shape(&self, area: Rid, shape_idx: i64) -> Rid[src]
pub unsafe fn area_get_shape(&self, area: Rid, shape_idx: i64) -> RidInherited from Physics2DServer.
pub unsafe fn area_get_shape_transform(
&self,
area: Rid,
shape_idx: i64
) -> Transform2D[src]
pub unsafe fn area_get_shape_transform(
&self,
area: Rid,
shape_idx: i64
) -> Transform2DInherited from Physics2DServer.
pub unsafe fn area_remove_shape(&mut self, area: Rid, shape_idx: i64)[src]
pub unsafe fn area_remove_shape(&mut self, area: Rid, shape_idx: i64)Inherited from Physics2DServer.
pub unsafe fn area_clear_shapes(&mut self, area: Rid)[src]
pub unsafe fn area_clear_shapes(&mut self, area: Rid)Inherited from Physics2DServer.
pub unsafe fn area_set_collision_layer(&mut self, area: Rid, layer: i64)[src]
pub unsafe fn area_set_collision_layer(&mut self, area: Rid, layer: i64)Inherited from Physics2DServer.
pub unsafe fn area_set_collision_mask(&mut self, area: Rid, mask: i64)[src]
pub unsafe fn area_set_collision_mask(&mut self, area: Rid, mask: i64)Inherited from Physics2DServer.
pub unsafe fn area_set_param(&mut self, area: Rid, param: i64, value: Variant)[src]
pub unsafe fn area_set_param(&mut self, area: Rid, param: i64, value: Variant)Inherited from Physics2DServer.
pub unsafe fn area_set_transform(&mut self, area: Rid, transform: Transform2D)[src]
pub unsafe fn area_set_transform(&mut self, area: Rid, transform: Transform2D)Inherited from Physics2DServer.
pub unsafe fn area_get_param(&self, area: Rid, param: i64) -> Variant[src]
pub unsafe fn area_get_param(&self, area: Rid, param: i64) -> VariantInherited from Physics2DServer.
pub unsafe fn area_get_transform(&self, area: Rid) -> Transform2D[src]
pub unsafe fn area_get_transform(&self, area: Rid) -> Transform2DInherited from Physics2DServer.
pub unsafe fn area_attach_object_instance_id(&mut self, area: Rid, id: i64)[src]
pub unsafe fn area_attach_object_instance_id(&mut self, area: Rid, id: i64)Inherited from Physics2DServer.
pub unsafe fn area_get_object_instance_id(&self, area: Rid) -> i64[src]
pub unsafe fn area_get_object_instance_id(&self, area: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn area_set_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)[src]
pub unsafe fn area_set_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)Inherited from Physics2DServer.
pub unsafe fn area_set_area_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)[src]
pub unsafe fn area_set_area_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)Inherited from Physics2DServer.
pub unsafe fn area_set_monitorable(&mut self, area: Rid, monitorable: bool)[src]
pub unsafe fn area_set_monitorable(&mut self, area: Rid, monitorable: bool)Inherited from Physics2DServer.
pub unsafe fn body_create(&mut self) -> Rid[src]
pub unsafe fn body_create(&mut self) -> RidInherited from Physics2DServer.
pub unsafe fn body_set_space(&mut self, body: Rid, space: Rid)[src]
pub unsafe fn body_set_space(&mut self, body: Rid, space: Rid)Inherited from Physics2DServer.
pub unsafe fn body_get_space(&self, body: Rid) -> Rid[src]
pub unsafe fn body_get_space(&self, body: Rid) -> RidInherited from Physics2DServer.
pub unsafe fn body_set_mode(&mut self, body: Rid, mode: i64)[src]
pub unsafe fn body_set_mode(&mut self, body: Rid, mode: i64)Inherited from Physics2DServer.
pub unsafe fn body_get_mode(&self, body: Rid) -> Physics2DServerBodyMode[src]
pub unsafe fn body_get_mode(&self, body: Rid) -> Physics2DServerBodyModeInherited from Physics2DServer.
pub unsafe fn body_add_shape(
&mut self,
body: Rid,
shape: Rid,
transform: Transform2D
)[src]
pub unsafe fn body_add_shape(
&mut self,
body: Rid,
shape: Rid,
transform: Transform2D
)Inherited from Physics2DServer.
pub unsafe fn body_set_shape(&mut self, body: Rid, shape_idx: i64, shape: Rid)[src]
pub unsafe fn body_set_shape(&mut self, body: Rid, shape_idx: i64, shape: Rid)Inherited from Physics2DServer.
pub unsafe fn body_set_shape_transform(
&mut self,
body: Rid,
shape_idx: i64,
transform: Transform2D
)[src]
pub unsafe fn body_set_shape_transform(
&mut self,
body: Rid,
shape_idx: i64,
transform: Transform2D
)Inherited from Physics2DServer.
pub unsafe fn body_set_shape_metadata(
&mut self,
body: Rid,
shape_idx: i64,
metadata: Variant
)[src]
pub unsafe fn body_set_shape_metadata(
&mut self,
body: Rid,
shape_idx: i64,
metadata: Variant
)Inherited from Physics2DServer.
pub unsafe fn body_get_shape_count(&self, body: Rid) -> i64[src]
pub unsafe fn body_get_shape_count(&self, body: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn body_get_shape(&self, body: Rid, shape_idx: i64) -> Rid[src]
pub unsafe fn body_get_shape(&self, body: Rid, shape_idx: i64) -> RidInherited from Physics2DServer.
pub unsafe fn body_get_shape_transform(
&self,
body: Rid,
shape_idx: i64
) -> Transform2D[src]
pub unsafe fn body_get_shape_transform(
&self,
body: Rid,
shape_idx: i64
) -> Transform2DInherited from Physics2DServer.
pub unsafe fn body_get_shape_metadata(
&self,
body: Rid,
shape_idx: i64
) -> Variant[src]
pub unsafe fn body_get_shape_metadata(
&self,
body: Rid,
shape_idx: i64
) -> VariantInherited from Physics2DServer.
pub unsafe fn body_remove_shape(&mut self, body: Rid, shape_idx: i64)[src]
pub unsafe fn body_remove_shape(&mut self, body: Rid, shape_idx: i64)Inherited from Physics2DServer.
pub unsafe fn body_clear_shapes(&mut self, body: Rid)[src]
pub unsafe fn body_clear_shapes(&mut self, body: Rid)Inherited from Physics2DServer.
pub unsafe fn body_set_shape_disabled(
&mut self,
body: Rid,
shape_idx: i64,
disable: bool
)[src]
pub unsafe fn body_set_shape_disabled(
&mut self,
body: Rid,
shape_idx: i64,
disable: bool
)Inherited from Physics2DServer.
pub unsafe fn body_set_shape_as_one_way_collision(
&mut self,
body: Rid,
shape_idx: i64,
enable: bool
)[src]
pub unsafe fn body_set_shape_as_one_way_collision(
&mut self,
body: Rid,
shape_idx: i64,
enable: bool
)Inherited from Physics2DServer.
pub unsafe fn body_attach_object_instance_id(&mut self, body: Rid, id: i64)[src]
pub unsafe fn body_attach_object_instance_id(&mut self, body: Rid, id: i64)Inherited from Physics2DServer.
pub unsafe fn body_get_object_instance_id(&self, body: Rid) -> i64[src]
pub unsafe fn body_get_object_instance_id(&self, body: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn body_set_continuous_collision_detection_mode(
&mut self,
body: Rid,
mode: i64
)[src]
pub unsafe fn body_set_continuous_collision_detection_mode(
&mut self,
body: Rid,
mode: i64
)Inherited from Physics2DServer.
pub unsafe fn body_get_continuous_collision_detection_mode(
&self,
body: Rid
) -> Physics2DServerCCDMode[src]
pub unsafe fn body_get_continuous_collision_detection_mode(
&self,
body: Rid
) -> Physics2DServerCCDModeInherited from Physics2DServer.
pub unsafe fn body_set_collision_layer(&mut self, body: Rid, layer: i64)[src]
pub unsafe fn body_set_collision_layer(&mut self, body: Rid, layer: i64)Inherited from Physics2DServer.
pub unsafe fn body_get_collision_layer(&self, body: Rid) -> i64[src]
pub unsafe fn body_get_collision_layer(&self, body: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn body_set_collision_mask(&mut self, body: Rid, mask: i64)[src]
pub unsafe fn body_set_collision_mask(&mut self, body: Rid, mask: i64)Inherited from Physics2DServer.
pub unsafe fn body_get_collision_mask(&self, body: Rid) -> i64[src]
pub unsafe fn body_get_collision_mask(&self, body: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn body_set_param(&mut self, body: Rid, param: i64, value: f64)[src]
pub unsafe fn body_set_param(&mut self, body: Rid, param: i64, value: f64)Inherited from Physics2DServer.
pub unsafe fn body_get_param(&self, body: Rid, param: i64) -> f64[src]
pub unsafe fn body_get_param(&self, body: Rid, param: i64) -> f64Inherited from Physics2DServer.
pub unsafe fn body_set_state(&mut self, body: Rid, state: i64, value: Variant)[src]
pub unsafe fn body_set_state(&mut self, body: Rid, state: i64, value: Variant)Inherited from Physics2DServer.
pub unsafe fn body_get_state(&self, body: Rid, state: i64) -> Variant[src]
pub unsafe fn body_get_state(&self, body: Rid, state: i64) -> VariantInherited from Physics2DServer.
pub unsafe fn body_apply_central_impulse(&mut self, body: Rid, impulse: Vector2)[src]
pub unsafe fn body_apply_central_impulse(&mut self, body: Rid, impulse: Vector2)Inherited from Physics2DServer.
pub unsafe fn body_apply_torque_impulse(&mut self, body: Rid, impulse: f64)[src]
pub unsafe fn body_apply_torque_impulse(&mut self, body: Rid, impulse: f64)Inherited from Physics2DServer.
pub unsafe fn body_apply_impulse(
&mut self,
body: Rid,
position: Vector2,
impulse: Vector2
)[src]
pub unsafe fn body_apply_impulse(
&mut self,
body: Rid,
position: Vector2,
impulse: Vector2
)Inherited from Physics2DServer.
pub unsafe fn body_add_central_force(&mut self, force: Rid, arg1: Vector2)[src]
pub unsafe fn body_add_central_force(&mut self, force: Rid, arg1: Vector2)Inherited from Physics2DServer.
pub unsafe fn body_add_force(
&mut self,
body: Rid,
offset: Vector2,
force: Vector2
)[src]
pub unsafe fn body_add_force(
&mut self,
body: Rid,
offset: Vector2,
force: Vector2
)Inherited from Physics2DServer.
pub unsafe fn body_add_torque(&mut self, body: Rid, torque: f64)[src]
pub unsafe fn body_add_torque(&mut self, body: Rid, torque: f64)Inherited from Physics2DServer.
pub unsafe fn body_set_axis_velocity(
&mut self,
body: Rid,
axis_velocity: Vector2
)[src]
pub unsafe fn body_set_axis_velocity(
&mut self,
body: Rid,
axis_velocity: Vector2
)Inherited from Physics2DServer.
pub unsafe fn body_add_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid
)[src]
pub unsafe fn body_add_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid
)Inherited from Physics2DServer.
pub unsafe fn body_remove_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid
)[src]
pub unsafe fn body_remove_collision_exception(
&mut self,
body: Rid,
excepted_body: Rid
)Inherited from Physics2DServer.
pub unsafe fn body_set_max_contacts_reported(&mut self, body: Rid, amount: i64)[src]
pub unsafe fn body_set_max_contacts_reported(&mut self, body: Rid, amount: i64)Inherited from Physics2DServer.
pub unsafe fn body_get_max_contacts_reported(&self, body: Rid) -> i64[src]
pub unsafe fn body_get_max_contacts_reported(&self, body: Rid) -> i64Inherited from Physics2DServer.
pub unsafe fn body_set_omit_force_integration(
&mut self,
body: Rid,
enable: bool
)[src]
pub unsafe fn body_set_omit_force_integration(
&mut self,
body: Rid,
enable: bool
)Inherited from Physics2DServer.
pub unsafe fn body_is_omitting_force_integration(&self, body: Rid) -> bool[src]
pub unsafe fn body_is_omitting_force_integration(&self, body: Rid) -> boolInherited from Physics2DServer.
pub unsafe fn body_set_force_integration_callback(
&mut self,
body: Rid,
receiver: Option<Object>,
method: GodotString,
userdata: Variant
)[src]
pub unsafe fn body_set_force_integration_callback(
&mut self,
body: Rid,
receiver: Option<Object>,
method: GodotString,
userdata: Variant
)Inherited from Physics2DServer.
pub unsafe fn body_test_motion(
&mut self,
body: Rid,
from: Transform2D,
motion: Vector2,
infinite_inertia: bool,
margin: f64,
result: Option<Physics2DTestMotionResult>
) -> bool[src]
pub unsafe fn body_test_motion(
&mut self,
body: Rid,
from: Transform2D,
motion: Vector2,
infinite_inertia: bool,
margin: f64,
result: Option<Physics2DTestMotionResult>
) -> boolInherited from Physics2DServer.
pub unsafe fn body_get_direct_state(
&mut self,
body: Rid
) -> Option<Physics2DDirectBodyState>[src]
pub unsafe fn body_get_direct_state(
&mut self,
body: Rid
) -> Option<Physics2DDirectBodyState>Inherited from Physics2DServer.
pub unsafe fn joint_set_param(&mut self, joint: Rid, param: i64, value: f64)[src]
pub unsafe fn joint_set_param(&mut self, joint: Rid, param: i64, value: f64)Inherited from Physics2DServer.
pub unsafe fn joint_get_param(&self, joint: Rid, param: i64) -> f64[src]
pub unsafe fn joint_get_param(&self, joint: Rid, param: i64) -> f64Inherited from Physics2DServer.
pub unsafe fn pin_joint_create(
&mut self,
anchor: Vector2,
body_a: Rid,
body_b: Rid
) -> Rid[src]
pub unsafe fn pin_joint_create(
&mut self,
anchor: Vector2,
body_a: Rid,
body_b: Rid
) -> RidInherited from Physics2DServer.
pub unsafe fn groove_joint_create(
&mut self,
groove1_a: Vector2,
groove2_a: Vector2,
anchor_b: Vector2,
body_a: Rid,
body_b: Rid
) -> Rid[src]
pub unsafe fn groove_joint_create(
&mut self,
groove1_a: Vector2,
groove2_a: Vector2,
anchor_b: Vector2,
body_a: Rid,
body_b: Rid
) -> RidInherited from Physics2DServer.
pub unsafe fn damped_spring_joint_create(
&mut self,
anchor_a: Vector2,
anchor_b: Vector2,
body_a: Rid,
body_b: Rid
) -> Rid[src]
pub unsafe fn damped_spring_joint_create(
&mut self,
anchor_a: Vector2,
anchor_b: Vector2,
body_a: Rid,
body_b: Rid
) -> RidInherited from Physics2DServer.
pub unsafe fn damped_string_joint_set_param(
&mut self,
joint: Rid,
param: i64,
value: f64
)[src]
pub unsafe fn damped_string_joint_set_param(
&mut self,
joint: Rid,
param: i64,
value: f64
)Inherited from Physics2DServer.
pub unsafe fn damped_string_joint_get_param(
&self,
joint: Rid,
param: i64
) -> f64[src]
pub unsafe fn damped_string_joint_get_param(
&self,
joint: Rid,
param: i64
) -> f64Inherited from Physics2DServer.
pub unsafe fn joint_get_type(&self, joint: Rid) -> Physics2DServerJointType[src]
pub unsafe fn joint_get_type(&self, joint: Rid) -> Physics2DServerJointTypeInherited from Physics2DServer.
pub unsafe fn free_rid(&mut self, rid: Rid)[src]
pub unsafe fn free_rid(&mut self, rid: Rid)Inherited from Physics2DServer.
pub unsafe fn set_active(&mut self, active: bool)[src]
pub unsafe fn set_active(&mut self, active: bool)Inherited from Physics2DServer.
pub unsafe fn get_process_info(&mut self, process_info: i64) -> i64[src]
pub unsafe fn get_process_info(&mut self, process_info: i64) -> i64Inherited from Physics2DServer.
pub unsafe fn _notification(&mut self, what: i64)[src]
pub unsafe fn _notification(&mut self, what: i64)Inherited from Object.
pub unsafe fn _set(&mut self, property: GodotString, value: Variant) -> bool[src]
pub unsafe fn _set(&mut self, property: GodotString, value: Variant) -> boolInherited from Object.
pub unsafe fn _get(&mut self, property: GodotString) -> Variant[src]
pub unsafe fn _get(&mut self, property: GodotString) -> VariantInherited from Object.
pub unsafe fn _get_property_list(&mut self) -> VariantArray[src]
pub unsafe fn _get_property_list(&mut self) -> VariantArrayInherited from Object.
pub unsafe fn _init(&mut self)[src]
pub unsafe fn _init(&mut self)Inherited from Object.
pub unsafe fn get_class(&self) -> GodotString[src]
pub unsafe fn get_class(&self) -> GodotStringInherited from Object.
pub unsafe fn is_class(&self, _type: GodotString) -> bool[src]
pub unsafe fn is_class(&self, _type: GodotString) -> boolInherited from Object.
pub unsafe fn set(&mut self, property: GodotString, value: Variant)[src]
pub unsafe fn set(&mut self, property: GodotString, value: Variant)Inherited from Object.
pub unsafe fn get(&self, property: GodotString) -> Variant[src]
pub unsafe fn get(&self, property: GodotString) -> VariantInherited from Object.
pub unsafe fn set_indexed(&mut self, property: NodePath, value: Variant)[src]
pub unsafe fn set_indexed(&mut self, property: NodePath, value: Variant)Inherited from Object.
pub unsafe fn get_indexed(&self, property: NodePath) -> Variant[src]
pub unsafe fn get_indexed(&self, property: NodePath) -> VariantInherited from Object.
pub unsafe fn get_property_list(&self) -> VariantArray[src]
pub unsafe fn get_property_list(&self) -> VariantArrayInherited from Object.
pub unsafe fn get_method_list(&self) -> VariantArray[src]
pub unsafe fn get_method_list(&self) -> VariantArrayInherited from Object.
pub unsafe fn notification(&mut self, what: i64, reversed: bool)[src]
pub unsafe fn notification(&mut self, what: i64, reversed: bool)Inherited from Object.
pub unsafe fn get_instance_id(&self) -> i64[src]
pub unsafe fn get_instance_id(&self) -> i64Inherited from Object.
pub unsafe fn set_script(&mut self, script: Option<Reference>)[src]
pub unsafe fn set_script(&mut self, script: Option<Reference>)Inherited from Object.
pub unsafe fn get_script(&self) -> Option<Reference>[src]
pub unsafe fn get_script(&self) -> Option<Reference>Inherited from Object.
pub unsafe fn set_meta(&mut self, name: GodotString, value: Variant)[src]
pub unsafe fn set_meta(&mut self, name: GodotString, value: Variant)Inherited from Object.
pub unsafe fn get_meta(&self, name: GodotString) -> Variant[src]
pub unsafe fn get_meta(&self, name: GodotString) -> VariantInherited from Object.
pub unsafe fn has_meta(&self, name: GodotString) -> bool[src]
pub unsafe fn has_meta(&self, name: GodotString) -> boolInherited from Object.
pub unsafe fn get_meta_list(&self) -> StringArray[src]
pub unsafe fn get_meta_list(&self) -> StringArrayInherited from Object.
pub unsafe fn add_user_signal(
&mut self,
signal: GodotString,
arguments: VariantArray
)[src]
pub unsafe fn add_user_signal(
&mut self,
signal: GodotString,
arguments: VariantArray
)Inherited from Object.
pub unsafe fn has_user_signal(&self, signal: GodotString) -> bool[src]
pub unsafe fn has_user_signal(&self, signal: GodotString) -> boolInherited from Object.
pub unsafe fn emit_signal(
&mut self,
signal: GodotString,
varargs: &[Variant]
) -> Variant[src]
pub unsafe fn emit_signal(
&mut self,
signal: GodotString,
varargs: &[Variant]
) -> VariantInherited from Object.
pub unsafe fn call(
&mut self,
method: GodotString,
varargs: &[Variant]
) -> Variant[src]
pub unsafe fn call(
&mut self,
method: GodotString,
varargs: &[Variant]
) -> VariantInherited from Object.
pub unsafe fn call_deferred(
&mut self,
method: GodotString,
varargs: &[Variant]
) -> Variant[src]
pub unsafe fn call_deferred(
&mut self,
method: GodotString,
varargs: &[Variant]
) -> VariantInherited from Object.
pub unsafe fn callv(
&mut self,
method: GodotString,
arg_array: VariantArray
) -> Variant[src]
pub unsafe fn callv(
&mut self,
method: GodotString,
arg_array: VariantArray
) -> VariantInherited from Object.
pub unsafe fn has_method(&self, method: GodotString) -> bool[src]
pub unsafe fn has_method(&self, method: GodotString) -> boolInherited from Object.
pub unsafe fn get_signal_list(&self) -> VariantArray[src]
pub unsafe fn get_signal_list(&self) -> VariantArrayInherited from Object.
pub unsafe fn get_signal_connection_list(
&self,
signal: GodotString
) -> VariantArray[src]
pub unsafe fn get_signal_connection_list(
&self,
signal: GodotString
) -> VariantArrayInherited from Object.
pub unsafe fn get_incoming_connections(&self) -> VariantArray[src]
pub unsafe fn get_incoming_connections(&self) -> VariantArrayInherited from Object.
pub unsafe fn connect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString,
binds: VariantArray,
flags: i64
) -> GodotResult[src]
pub unsafe fn connect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString,
binds: VariantArray,
flags: i64
) -> GodotResultInherited from Object.
pub unsafe fn disconnect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString
)[src]
pub unsafe fn disconnect(
&mut self,
signal: GodotString,
target: Option<Object>,
method: GodotString
)Inherited from Object.
pub unsafe fn is_connected(
&self,
signal: GodotString,
target: Option<Object>,
method: GodotString
) -> bool[src]
pub unsafe fn is_connected(
&self,
signal: GodotString,
target: Option<Object>,
method: GodotString
) -> boolInherited from Object.
pub unsafe fn set_block_signals(&mut self, enable: bool)[src]
pub unsafe fn set_block_signals(&mut self, enable: bool)Inherited from Object.
pub unsafe fn is_blocking_signals(&self) -> bool[src]
pub unsafe fn is_blocking_signals(&self) -> boolInherited from Object.
pub unsafe fn property_list_changed_notify(&mut self)[src]
pub unsafe fn property_list_changed_notify(&mut self)Inherited from Object.
pub unsafe fn set_message_translation(&mut self, enable: bool)[src]
pub unsafe fn set_message_translation(&mut self, enable: bool)Inherited from Object.
pub unsafe fn can_translate_messages(&self) -> bool[src]
pub unsafe fn can_translate_messages(&self) -> boolInherited from Object.
pub unsafe fn tr(&self, message: GodotString) -> GodotString[src]
pub unsafe fn tr(&self, message: GodotString) -> GodotStringInherited from Object.
pub unsafe fn is_queued_for_deletion(&self) -> bool[src]
pub unsafe fn is_queued_for_deletion(&self) -> boolInherited from Object.
pub unsafe fn to_physics_2d_server(&self) -> Physics2DServer[src]
pub unsafe fn to_physics_2d_server(&self) -> Physics2DServerUp-cast.
pub unsafe fn to_object(&self) -> Object[src]
pub unsafe fn to_object(&self) -> ObjectUp-cast.
pub unsafe fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub unsafe fn cast<T: GodotObject>(&self) -> Option<T>Generic dynamic cast.
Trait Implementations
impl Copy for Physics2DServerSW[src]
impl Copy for Physics2DServerSWimpl Clone for Physics2DServerSW[src]
impl Clone for Physics2DServerSWfn clone(&self) -> Physics2DServerSW[src]
fn clone(&self) -> Physics2DServerSWReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Physics2DServerSW[src]
impl Debug for Physics2DServerSWfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl GodotObject for Physics2DServerSW[src]
impl GodotObject for Physics2DServerSWfn class_name() -> &'static str[src]
fn class_name() -> &'static strunsafe fn from_sys(obj: *mut godot_object) -> Self[src]
unsafe fn from_sys(obj: *mut godot_object) -> Selfunsafe fn to_sys(&self) -> *mut godot_object[src]
unsafe fn to_sys(&self) -> *mut godot_objectimpl ToVariant for Physics2DServerSW[src]
impl ToVariant for Physics2DServerSWfn to_variant(&self) -> Variant[src]
fn to_variant(&self) -> Variantfn from_variant(variant: &Variant) -> Option<Self>[src]
fn from_variant(variant: &Variant) -> Option<Self>Auto Trait Implementations
impl !Send for Physics2DServerSW
impl !Send for Physics2DServerSWimpl !Sync for Physics2DServerSW
impl !Sync for Physics2DServerSW