pub struct hkpCylinderShape {
pub __ptr: Option<Pointer>,
pub parent: hkpConvexShape,
pub m_cylRadius: f32,
pub m_cylBaseRadiusFactorForHeightFieldCollisions: f32,
pub m_vertexA: Vector4,
pub m_vertexB: Vector4,
pub m_perpendicular1: Vector4,
pub m_perpendicular2: Vector4,
}
Expand description
§C++ Info
- name:
hkpCylinderShape
- version:
0
- signature:
0x3e463c3a
- size:
96
(x86)/112
(x86_64) - vtable:
true
Fields§
§__ptr: Option<Pointer>
§Unique index for this class
- Represents a pointer on XML (
<hkobject name="#0001"></hkobject>
) Option::None
=> This class isclass in field
.(<hkobject></hkobject>
)
§Note
Not present in the binary & Not exist actual C++ field.
parent: hkpConvexShape
Alternative to C++ class inheritance.
m_cylRadius: f32
§C++ Info
- name:
cylRadius
(ctype:hkReal
) - offset:
20
(x86)/40
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_cylBaseRadiusFactorForHeightFieldCollisions: f32
§C++ Info
- name:
cylBaseRadiusFactorForHeightFieldCollisions
(ctype:hkReal
) - offset:
24
(x86)/44
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_vertexA: Vector4
§C++ Info
- name:
vertexA
(ctype:hkVector4
) - offset:
32
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_vertexB: Vector4
§C++ Info
- name:
vertexB
(ctype:hkVector4
) - offset:
48
(x86)/64
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_perpendicular1: Vector4
§C++ Info
- name:
perpendicular1
(ctype:hkVector4
) - offset:
64
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_perpendicular2: Vector4
§C++ Info
- name:
perpendicular2
(ctype:hkVector4
) - offset:
80
(x86)/96
(x86_64) - type_size:
16
(x86)/16
(x86_64)
Trait Implementations§
Source§impl Clone for hkpCylinderShape
impl Clone for hkpCylinderShape
Source§impl Debug for hkpCylinderShape
impl Debug for hkpCylinderShape
Source§impl Default for hkpCylinderShape
impl Default for hkpCylinderShape
Source§impl<'de> Deserialize<'de> for hkpCylinderShape
impl<'de> Deserialize<'de> for hkpCylinderShape
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HavokClass for hkpCylinderShape
impl HavokClass for hkpCylinderShape
Source§impl PartialEq for hkpCylinderShape
impl PartialEq for hkpCylinderShape
Auto Trait Implementations§
impl Freeze for hkpCylinderShape
impl RefUnwindSafe for hkpCylinderShape
impl Send for hkpCylinderShape
impl Sync for hkpCylinderShape
impl Unpin for hkpCylinderShape
impl UnwindSafe for hkpCylinderShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more