Struct gdnative::BulletPhysicsServer
[−]
[src]
pub struct BulletPhysicsServer { /* fields omitted */ }
Methods from Deref<Target = PhysicsServer>
pub fn shape_create(&self, _type: i64) -> Rid
[src]
pub fn shape_set_data(&self, shape: Rid, data: Variant)
[src]
pub fn shape_get_data(&self, shape: Rid) -> Variant
[src]
pub fn space_create(&self) -> Rid
[src]
pub fn space_set_active(&self, space: Rid, active: bool)
[src]
pub fn space_is_active(&self, space: Rid) -> bool
[src]
pub fn space_set_param(&self, space: Rid, param: i64, value: f64)
[src]
pub fn space_get_param(&self, space: Rid, param: i64) -> f64
[src]
pub fn space_get_direct_state(
&self,
space: Rid
) -> Option<GodotRef<PhysicsDirectSpaceState>>
[src]
&self,
space: Rid
) -> Option<GodotRef<PhysicsDirectSpaceState>>
pub fn area_create(&self) -> Rid
[src]
pub fn area_set_space(&self, area: Rid, space: Rid)
[src]
pub fn area_get_space(&self, area: Rid) -> Rid
[src]
pub fn area_set_space_override_mode(&self, area: Rid, mode: i64)
[src]
pub fn area_add_shape(&self, area: Rid, shape: Rid, transform: Transform)
[src]
pub fn area_set_shape(&self, area: Rid, shape_idx: i64, shape: Rid)
[src]
pub fn area_set_shape_transform(
&self,
area: Rid,
shape_idx: i64,
transform: Transform
)
[src]
&self,
area: Rid,
shape_idx: i64,
transform: Transform
)
pub fn area_get_shape_count(&self, area: Rid) -> i64
[src]
pub fn area_get_shape(&self, area: Rid, shape_idx: i64) -> Rid
[src]
pub fn area_get_shape_transform(&self, area: Rid, shape_idx: i64) -> Transform
[src]
pub fn area_remove_shape(&self, area: Rid, shape_idx: i64)
[src]
pub fn area_clear_shapes(&self, area: Rid)
[src]
pub fn area_set_collision_layer(&self, area: Rid, layer: i64)
[src]
pub fn area_set_collision_mask(&self, area: Rid, mask: i64)
[src]
pub fn area_set_param(&self, area: Rid, param: i64, value: Variant)
[src]
pub fn area_set_transform(&self, area: Rid, transform: Transform)
[src]
pub fn area_get_param(&self, area: Rid, param: i64) -> Variant
[src]
pub fn area_get_transform(&self, area: Rid) -> Transform
[src]
pub fn area_attach_object_instance_id(&self, area: Rid, id: i64)
[src]
pub fn area_get_object_instance_id(&self, area: Rid) -> i64
[src]
pub fn area_set_monitor_callback(
&self,
area: Rid,
receiver: Option<GodotRef<Object>>,
method: GodotString
)
[src]
&self,
area: Rid,
receiver: Option<GodotRef<Object>>,
method: GodotString
)
pub fn area_set_ray_pickable(&self, area: Rid, enable: bool)
[src]
pub fn area_is_ray_pickable(&self, area: Rid) -> bool
[src]
pub fn body_create(&self, mode: i64, init_sleeping: bool) -> Rid
[src]
pub fn body_set_space(&self, body: Rid, space: Rid)
[src]
pub fn body_get_space(&self, body: Rid) -> Rid
[src]
pub fn body_set_mode(&self, body: Rid, mode: i64)
[src]
pub fn body_set_collision_layer(&self, body: Rid, layer: i64)
[src]
pub fn body_get_collision_layer(&self, body: Rid) -> i64
[src]
pub fn body_set_collision_mask(&self, body: Rid, mask: i64)
[src]
pub fn body_get_collision_mask(&self, body: Rid) -> i64
[src]
pub fn body_add_shape(&self, body: Rid, shape: Rid, transform: Transform)
[src]
pub fn body_set_shape(&self, body: Rid, shape_idx: i64, shape: Rid)
[src]
pub fn body_set_shape_transform(
&self,
body: Rid,
shape_idx: i64,
transform: Transform
)
[src]
&self,
body: Rid,
shape_idx: i64,
transform: Transform
)
pub fn body_get_shape_count(&self, body: Rid) -> i64
[src]
pub fn body_get_shape(&self, body: Rid, shape_idx: i64) -> Rid
[src]
pub fn body_get_shape_transform(&self, body: Rid, shape_idx: i64) -> Transform
[src]
pub fn body_remove_shape(&self, body: Rid, shape_idx: i64)
[src]
pub fn body_clear_shapes(&self, body: Rid)
[src]
pub fn body_attach_object_instance_id(&self, body: Rid, id: i64)
[src]
pub fn body_get_object_instance_id(&self, body: Rid) -> i64
[src]
pub fn body_set_enable_continuous_collision_detection(
&self,
body: Rid,
enable: bool
)
[src]
&self,
body: Rid,
enable: bool
)
pub fn body_is_continuous_collision_detection_enabled(&self, body: Rid) -> bool
[src]
pub fn body_set_param(&self, body: Rid, param: i64, value: f64)
[src]
pub fn body_get_param(&self, body: Rid, param: i64) -> f64
[src]
pub fn body_set_kinematic_safe_margin(&self, body: Rid, margin: f64)
[src]
pub fn body_get_kinematic_safe_margin(&self, body: Rid) -> f64
[src]
pub fn body_set_state(&self, body: Rid, state: i64, value: Variant)
[src]
pub fn body_get_state(&self, body: Rid, state: i64) -> Variant
[src]
pub fn body_apply_impulse(&self, body: Rid, position: Vector3, impulse: Vector3)
[src]
pub fn body_apply_torque_impulse(&self, body: Rid, impulse: Vector3)
[src]
pub fn body_set_axis_velocity(&self, body: Rid, axis_velocity: Vector3)
[src]
pub fn body_set_axis_lock(&self, body: Rid, axis: i64, lock: bool)
[src]
pub fn body_is_axis_locked(&self, body: Rid, axis: i64) -> bool
[src]
pub fn body_add_collision_exception(&self, body: Rid, excepted_body: Rid)
[src]
pub fn body_remove_collision_exception(&self, body: Rid, excepted_body: Rid)
[src]
pub fn body_set_max_contacts_reported(&self, body: Rid, amount: i64)
[src]
pub fn body_get_max_contacts_reported(&self, body: Rid) -> i64
[src]
pub fn body_set_omit_force_integration(&self, body: Rid, enable: bool)
[src]
pub fn body_is_omitting_force_integration(&self, body: Rid) -> bool
[src]
pub fn body_set_force_integration_callback(
&self,
body: Rid,
receiver: Option<GodotRef<Object>>,
method: GodotString,
userdata: Variant
)
[src]
&self,
body: Rid,
receiver: Option<GodotRef<Object>>,
method: GodotString,
userdata: Variant
)
pub fn body_set_ray_pickable(&self, body: Rid, enable: bool)
[src]
pub fn body_is_ray_pickable(&self, body: Rid) -> bool
[src]
pub fn body_get_direct_state(
&self,
body: Rid
) -> Option<GodotRef<PhysicsDirectBodyState>>
[src]
&self,
body: Rid
) -> Option<GodotRef<PhysicsDirectBodyState>>
pub fn joint_create_pin(
&self,
body_A: Rid,
local_A: Vector3,
body_B: Rid,
local_B: Vector3
) -> Rid
[src]
&self,
body_A: Rid,
local_A: Vector3,
body_B: Rid,
local_B: Vector3
) -> Rid
pub fn pin_joint_set_param(&self, joint: Rid, param: i64, value: f64)
[src]
pub fn pin_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn pin_joint_set_local_a(&self, joint: Rid, local_A: Vector3)
[src]
pub fn pin_joint_get_local_a(&self, joint: Rid) -> Vector3
[src]
pub fn pin_joint_set_local_b(&self, joint: Rid, local_B: Vector3)
[src]
pub fn pin_joint_get_local_b(&self, joint: Rid) -> Vector3
[src]
pub fn joint_create_hinge(
&self,
body_A: Rid,
hinge_A: Transform,
body_B: Rid,
hinge_B: Transform
) -> Rid
[src]
&self,
body_A: Rid,
hinge_A: Transform,
body_B: Rid,
hinge_B: Transform
) -> Rid
pub fn hinge_joint_set_param(&self, joint: Rid, param: i64, value: f64)
[src]
pub fn hinge_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn hinge_joint_set_flag(&self, joint: Rid, flag: i64, enabled: bool)
[src]
pub fn hinge_joint_get_flag(&self, joint: Rid, flag: i64) -> bool
[src]
pub fn joint_create_slider(
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn slider_joint_set_param(&self, joint: Rid, param: i64, value: f64)
[src]
pub fn slider_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn joint_create_cone_twist(
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn cone_twist_joint_set_param(&self, joint: Rid, param: i64, value: f64)
[src]
pub fn cone_twist_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn joint_set_solver_priority(&self, joint: Rid, priority: i64)
[src]
pub fn joint_get_solver_priority(&self, joint: Rid) -> i64
[src]
pub fn joint_create_generic_6dof(
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn generic_6dof_joint_set_param(
&self,
joint: Rid,
axis: i64,
param: i64,
value: f64
)
[src]
&self,
joint: Rid,
axis: i64,
param: i64,
value: f64
)
pub fn generic_6dof_joint_get_param(
&self,
joint: Rid,
axis: i64,
param: i64
) -> f64
[src]
&self,
joint: Rid,
axis: i64,
param: i64
) -> f64
pub fn generic_6dof_joint_set_flag(
&self,
joint: Rid,
axis: i64,
flag: i64,
enable: bool
)
[src]
&self,
joint: Rid,
axis: i64,
flag: i64,
enable: bool
)
pub fn generic_6dof_joint_get_flag(
&self,
joint: Rid,
axis: i64,
flag: i64
) -> bool
[src]
&self,
joint: Rid,
axis: i64,
flag: i64
) -> bool
pub fn free_rid(&self, rid: Rid)
[src]
pub fn set_active(&self, active: bool)
[src]
pub fn get_process_info(&self, process_info: i64) -> i64
[src]
Trait Implementations
impl GodotClass for BulletPhysicsServer
[src]
type ClassData = BulletPhysicsServer
type Reference = BulletPhysicsServer
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
unsafe fn from_object(obj: *mut godot_object) -> Self
[src]
impl Deref for BulletPhysicsServer
[src]
type Target = PhysicsServer
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.