Struct gdnative::KinematicCollision2D
[−]
[src]
pub struct KinematicCollision2D { /* fields omitted */ }
Methods
impl KinematicCollision2D
[src]
pub fn get_position(&self) -> Vector2
[src]
pub fn get_normal(&self) -> Vector2
[src]
pub fn get_travel(&self) -> Vector2
[src]
pub fn get_remainder(&self) -> Vector2
[src]
pub fn get_local_shape(&self) -> Option<GodotRef<Object>>
[src]
pub fn get_collider(&self) -> Option<GodotRef<Object>>
[src]
pub fn get_collider_id(&self) -> i64
[src]
pub fn get_collider_shape(&self) -> Option<GodotRef<Object>>
[src]
pub fn get_collider_shape_index(&self) -> i64
[src]
pub fn get_collider_velocity(&self) -> Vector2
[src]
pub fn get_collider_metadata(&self) -> Variant
[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 KinematicCollision2D
[src]
type ClassData = KinematicCollision2D
type Reference = KinematicCollision2D
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