pub struct hkxCamera {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_from: Vector4,
pub m_focus: Vector4,
pub m_up: Vector4,
pub m_fov: f32,
pub m_far: f32,
pub m_near: f32,
pub m_leftHanded: bool,
}
Expand description
§C++ Info
- name:
hkxCamera
- version:
1
- signature:
0xe3597b02
- size:
80
(x86)/80
(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: hkReferencedObject
Alternative to C++ class inheritance.
m_from: Vector4
§C++ Info
- name:
from
(ctype:hkVector4
) - offset:
16
(x86)/16
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_focus: Vector4
§C++ Info
- name:
focus
(ctype:hkVector4
) - offset:
32
(x86)/32
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_up: Vector4
§C++ Info
- name:
up
(ctype:hkVector4
) - offset:
48
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_fov: f32
§C++ Info
- name:
fov
(ctype:hkReal
) - offset:
64
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_far: f32
§C++ Info
- name:
far
(ctype:hkReal
) - offset:
68
(x86)/68
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_near: f32
§C++ Info
- name:
near
(ctype:hkReal
) - offset:
72
(x86)/72
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_leftHanded: bool
§C++ Info
- name:
leftHanded
(ctype:hkBool
) - offset:
76
(x86)/76
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkxCamera
impl<'de> Deserialize<'de> for hkxCamera
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 hkxCamera
impl HavokClass for hkxCamera
Auto Trait Implementations§
impl Freeze for hkxCamera
impl RefUnwindSafe for hkxCamera
impl Send for hkxCamera
impl Sync for hkxCamera
impl Unpin for hkxCamera
impl UnwindSafe for hkxCamera
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