Struct physx::rigid_static::PxRigidStatic [−][src]
A new type wrapper for PxArticulation. Parametrized by it's user data type, and the type of it's Shapes.
Trait Implementations
impl<P, S, Geom: Shape> Class<P> for PxRigidStatic<S, Geom> where
PxRigidStatic: Class<P>,
[src]
PxRigidStatic: Class<P>,
impl<S, Geom: Shape> Drop for PxRigidStatic<S, Geom>
[src]
impl<S, Geom: Shape> RigidActor for PxRigidStatic<S, Geom>
[src]
type Shape = Geom
fn get_nb_constraints(&self) -> u32
[src]
fn get_constraints(&mut self) -> Vec<&mut Constraint>
[src]
fn get_global_pose(&self) -> PxTransform
[src]
fn get_global_position(&self) -> PxVec3
[src]
fn get_global_rotation(&self) -> PxQuat
[src]
fn set_global_pose(&mut self, pose: &PxTransform, autowake: bool)
[src]
fn get_nb_shapes(&self) -> u32
[src]
fn get_shapes(&self) -> Vec<&Self::Shape>
[src]
fn get_shapes_mut(&mut self) -> Vec<&mut Self::Shape>
[src]
fn set_collision_filter(
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
[src]
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
fn set_query_filter(&mut self, this_layers: BitFlags<CollisionLayer>)
[src]
fn attach_shape(&mut self, shape: &mut Self::Shape) -> bool
[src]
fn detach_shape(&mut self, shape: &mut Self::Shape)
[src]
impl<S, Geom: Shape> RigidStatic for PxRigidStatic<S, Geom>
[src]
fn new(
physics: &mut impl Physics,
transform: PxTransform,
geometry: &impl Class<PxGeometry>,
material: &mut <Self::Shape as Shape>::Material,
shape_transform: PxTransform,
user_data: Self::UserData
) -> Option<Owner<Self>>
[src]
physics: &mut impl Physics,
transform: PxTransform,
geometry: &impl Class<PxGeometry>,
material: &mut <Self::Shape as Shape>::Material,
shape_transform: PxTransform,
user_data: Self::UserData
) -> Option<Owner<Self>>
unsafe fn from_raw(
ptr: *mut PxRigidStatic,
user_data: Self::UserData
) -> Option<Owner<Self>>
[src]
ptr: *mut PxRigidStatic,
user_data: Self::UserData
) -> Option<Owner<Self>>
fn get_user_data(&self) -> &Self::UserData
[src]
fn get_user_data_mut(&mut self) -> &mut Self::UserData
[src]
fn get_concrete_type_name(&self) -> Option<&str>
[src]
impl<S: Send, Geom: Shape + Send> Send for PxRigidStatic<S, Geom>
[src]
impl<S: Sync, Geom: Shape + Sync> Sync for PxRigidStatic<S, Geom>
[src]
Auto Trait Implementations
impl<S, Geom> RefUnwindSafe for PxRigidStatic<S, Geom> where
Geom: RefUnwindSafe,
S: RefUnwindSafe,
Geom: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, Geom> Unpin for PxRigidStatic<S, Geom> where
Geom: Unpin,
S: Unpin,
Geom: Unpin,
S: Unpin,
impl<S, Geom> UnwindSafe for PxRigidStatic<S, Geom> where
Geom: UnwindSafe,
S: UnwindSafe,
Geom: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Actor for T where
T: Class<PxActor> + Base,
[src]
T: Class<PxActor> + Base,
fn get_type(&self) -> ActorType
[src]
fn get_world_bounds(&self, inflation: f32) -> PxBounds3
[src]
fn set_actor_flag(&mut self, flag: ActorFlag, value: bool)
[src]
fn set_actor_flags(&mut self, flags: BitFlags<ActorFlag>)
[src]
fn get_actor_flags(&self) -> BitFlags<ActorFlag>
[src]
fn set_dominance_group(&mut self, group: u8)
[src]
fn get_dominance_group(&self) -> u8
[src]
fn set_owner_client(&mut self, client: u8)
[src]
fn get_owner_client(&self) -> u8
[src]
fn enable_visualization(&mut self, enable: bool)
[src]
fn enable_gravity(&mut self, enable: bool)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base for T where
T: Class<PxBase>,
[src]
T: Class<PxBase>,
fn get_concrete_type_name(&self) -> Option<&str>
[src]
fn get_concrete_type(&self) -> ConcreteType
[src]
fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
[src]
fn set_base_flags(&mut self, in_flags: BitFlags<BaseFlag>)
[src]
fn get_base_flags(&self) -> BitFlags<BaseFlag>
[src]
fn is_releasable(&self) -> bool
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,