pub struct hkpCompressedSampledHeightFieldShape {
pub __ptr: Option<Pointer>,
pub parent: hkpSampledHeightFieldShape,
pub m_storage: Vec<u16>,
pub m_triangleFlip: bool,
pub m_offset: f32,
pub m_scale: f32,
}
Expand description
§C++ Info
- name:
hkpCompressedSampledHeightFieldShape
- version:
0
- signature:
0x97b6e143
- size:
128
(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: hkpSampledHeightFieldShape
Alternative to C++ class inheritance.
m_storage: Vec<u16>
§C++ Info
- name:
storage
(ctype:hkArray<hkUint16>
) - offset:
96
(x86)/112
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_triangleFlip: bool
§C++ Info
- name:
triangleFlip
(ctype:hkBool
) - offset:
108
(x86)/128
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_offset: f32
§C++ Info
- name:
offset
(ctype:hkReal
) - offset:
112
(x86)/132
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_scale: f32
§C++ Info
- name:
scale
(ctype:hkReal
) - offset:
116
(x86)/136
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpCompressedSampledHeightFieldShape
impl<'de> Deserialize<'de> for hkpCompressedSampledHeightFieldShape
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
Auto Trait Implementations§
impl Freeze for hkpCompressedSampledHeightFieldShape
impl RefUnwindSafe for hkpCompressedSampledHeightFieldShape
impl Send for hkpCompressedSampledHeightFieldShape
impl Sync for hkpCompressedSampledHeightFieldShape
impl Unpin for hkpCompressedSampledHeightFieldShape
impl UnwindSafe for hkpCompressedSampledHeightFieldShape
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