Struct gdnative::Physics2DShapeQueryParameters [−][src]
pub struct Physics2DShapeQueryParameters { /* fields omitted */ }core class Physics2DShapeQueryParameters : Reference (reference counted)
Base class
Physics2DShapeQueryParameters inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl Physics2DShapeQueryParameters[src]
impl Physics2DShapeQueryParameterspub fn as_reference(&self) -> Reference[src]
pub fn as_reference(&self) -> ReferenceUp-cast.
pub fn new() -> Self[src]
pub fn new() -> Selfpub fn new_ref(&self) -> Self[src]
pub fn new_ref(&self) -> SelfCreates a new reference to the same object.
pub fn set_shape(&mut self, shape: Option<Resource>)[src]
pub fn set_shape(&mut self, shape: Option<Resource>)pub fn set_shape_rid(&mut self, shape: Rid)[src]
pub fn set_shape_rid(&mut self, shape: Rid)pub fn get_shape_rid(&self) -> Rid[src]
pub fn get_shape_rid(&self) -> Ridpub fn set_transform(&mut self, transform: Transform2D)[src]
pub fn set_transform(&mut self, transform: Transform2D)pub fn get_transform(&self) -> Transform2D[src]
pub fn get_transform(&self) -> Transform2Dpub fn set_motion(&mut self, motion: Vector2)[src]
pub fn set_motion(&mut self, motion: Vector2)pub fn get_motion(&self) -> Vector2[src]
pub fn get_motion(&self) -> Vector2pub fn set_margin(&mut self, margin: f64)[src]
pub fn set_margin(&mut self, margin: f64)pub fn get_margin(&self) -> f64[src]
pub fn get_margin(&self) -> f64pub fn set_collision_layer(&mut self, collision_layer: i64)[src]
pub fn set_collision_layer(&mut self, collision_layer: i64)pub fn get_collision_layer(&self) -> i64[src]
pub fn get_collision_layer(&self) -> i64pub fn set_exclude(&mut self, exclude: VariantArray)[src]
pub fn set_exclude(&mut self, exclude: VariantArray)pub fn get_exclude(&self) -> VariantArray[src]
pub fn get_exclude(&self) -> VariantArraypub 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) -> ObjectUp-cast.
pub fn init_ref(&mut self) -> bool[src]
pub fn init_ref(&mut self) -> boolpub fn reference(&mut self) -> bool[src]
pub fn reference(&mut self) -> boolpub fn unreference(&mut self) -> bool[src]
pub fn unreference(&mut self) -> boolpub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Trait Implementations
impl GodotObject for Physics2DShapeQueryParameters[src]
impl GodotObject for Physics2DShapeQueryParametersfn 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 Deref for Physics2DShapeQueryParameters[src]
impl Deref for Physics2DShapeQueryParameterstype Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for Physics2DShapeQueryParameters[src]
impl DerefMut for Physics2DShapeQueryParametersimpl Drop for Physics2DShapeQueryParameters[src]
impl Drop for Physics2DShapeQueryParametersAuto Trait Implementations
impl !Send for Physics2DShapeQueryParameters
impl !Send for Physics2DShapeQueryParametersimpl !Sync for Physics2DShapeQueryParameters
impl !Sync for Physics2DShapeQueryParameters