pub struct hkpTransformShape {
pub __ptr: Option<Pointer>,
pub parent: hkpShape,
pub m_childShape: hkpSingleShapeContainer,
pub m_childShapeSize: i32,
pub m_rotation: Quaternion,
pub m_transform: Transform,
}
Expand description
§C++ Info
- name:
hkpTransformShape
- version:
0
- signature:
0x787ef513
- size:
112
(x86)/144
(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: hkpShape
Alternative to C++ class inheritance.
m_childShape: hkpSingleShapeContainer
§C++ Info
- name:
childShape
(ctype:struct hkpSingleShapeContainer
) - offset:
16
(x86)/32
(x86_64) - type_size:
8
(x86)/16
(x86_64)
m_childShapeSize: i32
§C++ Info
- name:
childShapeSize
(ctype:hkInt32
) - offset:
24
(x86)/48
(x86_64) - type_size:
4
(x86)/4
(x86_64) - flags:
SERIALIZE_IGNORED
m_rotation: Quaternion
§C++ Info
- name:
rotation
(ctype:hkQuaternion
) - offset:
32
(x86)/64
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_transform: Transform
§C++ Info
- name:
transform
(ctype:hkTransform
) - offset:
48
(x86)/80
(x86_64) - type_size:
64
(x86)/64
(x86_64)
Trait Implementations§
Source§impl Clone for hkpTransformShape
impl Clone for hkpTransformShape
Source§impl Debug for hkpTransformShape
impl Debug for hkpTransformShape
Source§impl Default for hkpTransformShape
impl Default for hkpTransformShape
Source§impl<'de> Deserialize<'de> for hkpTransformShape
impl<'de> Deserialize<'de> for hkpTransformShape
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 hkpTransformShape
impl HavokClass for hkpTransformShape
Source§impl PartialEq for hkpTransformShape
impl PartialEq for hkpTransformShape
Auto Trait Implementations§
impl Freeze for hkpTransformShape
impl RefUnwindSafe for hkpTransformShape
impl Send for hkpTransformShape
impl Sync for hkpTransformShape
impl Unpin for hkpTransformShape
impl UnwindSafe for hkpTransformShape
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