pub struct hkpConeLimitConstraintAtom {
pub __ptr: Option<Pointer>,
pub parent: hkpConstraintAtom,
pub m_isEnabled: u8,
pub m_twistAxisInA: u8,
pub m_refAxisInB: u8,
pub m_angleMeasurementMode: MeasurementMode,
pub m_memOffsetToAngleOffset: u8,
pub m_minAngle: f32,
pub m_maxAngle: f32,
pub m_angularLimitsTauFactor: f32,
}
Expand description
§C++ Info
- name:
hkpConeLimitConstraintAtom
- version:
0
- signature:
0xf19443c8
- size:
20
(x86)/20
(x86_64) - vtable:
false
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: hkpConstraintAtom
Alternative to C++ class inheritance.
m_isEnabled: u8
§C++ Info
- name:
isEnabled
(ctype:hkUint8
) - offset:
2
(x86)/2
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_twistAxisInA: u8
§C++ Info
- name:
twistAxisInA
(ctype:hkUint8
) - offset:
3
(x86)/3
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_refAxisInB: u8
§C++ Info
- name:
refAxisInB
(ctype:hkUint8
) - offset:
4
(x86)/4
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_angleMeasurementMode: MeasurementMode
§C++ Info
- name:
angleMeasurementMode
(ctype:enum MeasurementMode
) - offset:
5
(x86)/5
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_memOffsetToAngleOffset: u8
§C++ Info
- name:
memOffsetToAngleOffset
(ctype:hkUint8
) - offset:
6
(x86)/6
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_minAngle: f32
§C++ Info
- name:
minAngle
(ctype:hkReal
) - offset:
8
(x86)/8
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxAngle: f32
§C++ Info
- name:
maxAngle
(ctype:hkReal
) - offset:
12
(x86)/12
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_angularLimitsTauFactor: f32
§C++ Info
- name:
angularLimitsTauFactor
(ctype:hkReal
) - offset:
16
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpConeLimitConstraintAtom
impl Clone for hkpConeLimitConstraintAtom
Source§impl Debug for hkpConeLimitConstraintAtom
impl Debug for hkpConeLimitConstraintAtom
Source§impl Default for hkpConeLimitConstraintAtom
impl Default for hkpConeLimitConstraintAtom
Source§impl<'de> Deserialize<'de> for hkpConeLimitConstraintAtom
impl<'de> Deserialize<'de> for hkpConeLimitConstraintAtom
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 hkpConeLimitConstraintAtom
impl RefUnwindSafe for hkpConeLimitConstraintAtom
impl Send for hkpConeLimitConstraintAtom
impl Sync for hkpConeLimitConstraintAtom
impl Unpin for hkpConeLimitConstraintAtom
impl UnwindSafe for hkpConeLimitConstraintAtom
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