Struct gdnative::Physics2DTestMotionResult
[−]
[src]
pub struct Physics2DTestMotionResult { /* fields omitted */ }
Methods
impl Physics2DTestMotionResult
[src]
pub fn get_motion(&self) -> Vector2
[src]
pub fn get_motion_remainder(&self) -> Vector2
[src]
pub fn get_collision_point(&self) -> Vector2
[src]
pub fn get_collision_normal(&self) -> Vector2
[src]
pub fn get_collider_velocity(&self) -> Vector2
[src]
pub fn get_collider_id(&self) -> i64
[src]
pub fn get_collider_rid(&self) -> Rid
[src]
pub fn get_collider(&self) -> Option<GodotRef<Object>>
[src]
pub fn get_collider_shape(&self) -> i64
[src]
Methods from Deref<Target = Reference>
pub fn init_ref(&self) -> bool
[src]
pub fn reference(&self) -> bool
[src]
pub fn unreference(&self) -> bool
[src]
Trait Implementations
impl GodotClass for Physics2DTestMotionResult
[src]
type ClassData = Physics2DTestMotionResult
type Reference = Physics2DTestMotionResult
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