pub struct hkpSampledHeightFieldShape {
pub __ptr: Option<Pointer>,
pub parent: hkpHeightFieldShape,
pub m_xRes: i32,
pub m_zRes: i32,
pub m_heightCenter: f32,
pub m_useProjectionBasedHeight: bool,
pub m_heightfieldType: HeightFieldType,
pub m_intToFloatScale: Vector4,
pub m_floatToIntScale: Vector4,
pub m_floatToIntOffsetFloorCorrected: Vector4,
pub m_extents: Vector4,
}
Expand description
§C++ Info
- name:
hkpSampledHeightFieldShape
- version:
0
- signature:
0x11213421
- 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: hkpHeightFieldShape
Alternative to C++ class inheritance.
m_xRes: i32
§C++ Info
- name:
xRes
(ctype:hkInt32
) - offset:
16
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_zRes: i32
§C++ Info
- name:
zRes
(ctype:hkInt32
) - offset:
20
(x86)/36
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_heightCenter: f32
§C++ Info
- name:
heightCenter
(ctype:hkReal
) - offset:
24
(x86)/40
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_useProjectionBasedHeight: bool
§C++ Info
- name:
useProjectionBasedHeight
(ctype:hkBool
) - offset:
28
(x86)/44
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_heightfieldType: HeightFieldType
§C++ Info
- name:
heightfieldType
(ctype:enum HeightFieldType
) - offset:
29
(x86)/45
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_intToFloatScale: Vector4
§C++ Info
- name:
intToFloatScale
(ctype:hkVector4
) - offset:
32
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_floatToIntScale: Vector4
§C++ Info
- name:
floatToIntScale
(ctype:hkVector4
) - offset:
48
(x86)/64
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_floatToIntOffsetFloorCorrected: Vector4
§C++ Info
- name:
floatToIntOffsetFloorCorrected
(ctype:hkVector4
) - offset:
64
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_extents: Vector4
§C++ Info
- name:
extents
(ctype:hkVector4
) - offset:
80
(x86)/96
(x86_64) - type_size:
16
(x86)/16
(x86_64)
Trait Implementations§
Source§impl Clone for hkpSampledHeightFieldShape
impl Clone for hkpSampledHeightFieldShape
Source§impl Debug for hkpSampledHeightFieldShape
impl Debug for hkpSampledHeightFieldShape
Source§impl Default for hkpSampledHeightFieldShape
impl Default for hkpSampledHeightFieldShape
Source§impl<'de> Deserialize<'de> for hkpSampledHeightFieldShape
impl<'de> Deserialize<'de> for hkpSampledHeightFieldShape
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 hkpSampledHeightFieldShape
impl RefUnwindSafe for hkpSampledHeightFieldShape
impl Send for hkpSampledHeightFieldShape
impl Sync for hkpSampledHeightFieldShape
impl Unpin for hkpSampledHeightFieldShape
impl UnwindSafe for hkpSampledHeightFieldShape
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