Struct gdnative::PhysicsShapeQueryParameters
[−]
[src]
pub struct PhysicsShapeQueryParameters { /* fields omitted */ }
core class PhysicsShapeQueryParameters : Reference
(reference counted)
Base class
PhysicsShapeQueryParameters inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl PhysicsShapeQueryParameters
[src]
pub fn as_reference(&self) -> Reference
[src]
Up-cast.
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn set_shape(&mut self, shape: Option<Resource>)
[src]
pub fn set_shape_rid(&mut self, shape: Rid)
[src]
pub fn get_shape_rid(&self) -> Rid
[src]
pub fn set_transform(&mut self, transform: Transform)
[src]
pub fn get_transform(&self) -> Transform
[src]
pub fn set_margin(&mut self, margin: f64)
[src]
pub fn get_margin(&self) -> f64
[src]
pub fn set_collision_mask(&mut self, collision_mask: i64)
[src]
pub fn get_collision_mask(&self) -> i64
[src]
pub fn set_exclude(&mut self, exclude: VariantArray)
[src]
pub fn get_exclude(&self) -> VariantArray
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for PhysicsShapeQueryParameters
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for PhysicsShapeQueryParameters
[src]
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.