Struct physx::controller::PxCapsuleController [−][src]
#[repr(transparent)]pub struct PxCapsuleController<U> { /* fields omitted */ }
Trait Implementations
Get the climbing mode of the capsule controller.
Get the height of the capsule.
Get the radius of the capsule.
Set the climbing mode of the capsule controller.
Set the height of the capsule.
Set the radius of the capsule.
Returns a raw const pointer to the wrapped type. Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe. In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
Returns a raw mut pointer to the wrapped type. Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe. In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
type UserData = U
type Descriptor = PxCapsuleControllerDesc<U>
Retrieve the user data from the controller.
Sets the controllers user data. If U is larger than a *mut _, it is heap allocated in a box. Otherwise, it is packed directly into the *mut c_void userData field. Read more
Set the position of teh controller
Get the position of the controller.
Auto Trait Implementations
impl<U> RefUnwindSafe for PxCapsuleController<U> where
U: RefUnwindSafe,
impl<U> Unpin for PxCapsuleController<U> where
U: Unpin,
impl<U> UnwindSafe for PxCapsuleController<U> where
U: UnwindSafe,