Struct physx_sys::PxRaycastHit
source · #[repr(C)]pub struct PxRaycastHit {
pub faceIndex: u32,
pub flags: PxHitFlags,
pub structgen_pad0: [u8; 2],
pub position: PxVec3,
pub normal: PxVec3,
pub distance: f32,
pub u: f32,
pub v: f32,
pub structgen_pad1: [u8; 4],
pub actor: *mut PxRigidActor,
pub shape: *mut PxShape,
}
Fields§
§faceIndex: u32
§flags: PxHitFlags
§structgen_pad0: [u8; 2]
§position: PxVec3
§normal: PxVec3
§distance: f32
§u: f32
§v: f32
§structgen_pad1: [u8; 4]
§actor: *mut PxRigidActor
§shape: *mut PxShape
Trait Implementations§
source§impl Clone for PxRaycastHit
impl Clone for PxRaycastHit
source§fn clone(&self) -> PxRaycastHit
fn clone(&self) -> PxRaycastHit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more