Struct gdnative::SpatialVelocityTracker [−][src]
pub struct SpatialVelocityTracker { /* fields omitted */ }
core class SpatialVelocityTracker : Reference
(reference counted)
Base class
SpatialVelocityTracker inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl SpatialVelocityTracker
[src]
impl SpatialVelocityTracker
pub fn as_reference(&self) -> Reference
[src]
pub fn as_reference(&self) -> Reference
Up-cast.
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn new_ref(&self) -> Self
[src]
pub fn new_ref(&self) -> Self
Creates a new reference to the same object.
pub fn set_track_physics_step(&mut self, enable: bool)
[src]
pub fn set_track_physics_step(&mut self, enable: bool)
pub fn is_tracking_physics_step(&self) -> bool
[src]
pub fn is_tracking_physics_step(&self) -> bool
pub fn update_position(&mut self, position: Vector3)
[src]
pub fn update_position(&mut self, position: Vector3)
pub fn get_tracked_linear_velocity(&self) -> Vector3
[src]
pub fn get_tracked_linear_velocity(&self) -> Vector3
pub fn reset(&mut self, position: Vector3)
[src]
pub fn reset(&mut self, position: Vector3)
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
pub fn as_object(&self) -> Object
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn init_ref(&mut self) -> bool
pub fn reference(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
pub fn unreference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for SpatialVelocityTracker
[src]
impl GodotObject for SpatialVelocityTracker
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl Deref for SpatialVelocityTracker
[src]
impl Deref for SpatialVelocityTracker
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for SpatialVelocityTracker
[src]
impl DerefMut for SpatialVelocityTracker
impl Drop for SpatialVelocityTracker
[src]
impl Drop for SpatialVelocityTracker
Auto Trait Implementations
impl !Send for SpatialVelocityTracker
impl !Send for SpatialVelocityTracker
impl !Sync for SpatialVelocityTracker
impl !Sync for SpatialVelocityTracker