pub struct hkxScene<'a> {Show 15 fields
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_modeller: StringPtr<'a>,
pub m_asset: StringPtr<'a>,
pub m_sceneLength: f32,
pub m_rootNode: Pointer,
pub m_selectionSets: Vec<Pointer>,
pub m_cameras: Vec<Pointer>,
pub m_lights: Vec<Pointer>,
pub m_meshes: Vec<Pointer>,
pub m_materials: Vec<Pointer>,
pub m_inplaceTextures: Vec<Pointer>,
pub m_externalTextures: Vec<Pointer>,
pub m_skinBindings: Vec<Pointer>,
pub m_appliedTransform: Matrix3,
}
Expand description
§C++ Info
- name:
hkxScene
- version:
1
- signature:
0x5f673ddd
- size:
176
(x86)/224
(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_modeller: StringPtr<'a>
§C++ Info
- name:
modeller
(ctype:hkStringPtr
) - offset:
8
(x86)/16
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_asset: StringPtr<'a>
§C++ Info
- name:
asset
(ctype:hkStringPtr
) - offset:
12
(x86)/24
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_sceneLength: f32
§C++ Info
- name:
sceneLength
(ctype:hkReal
) - offset:
16
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_rootNode: Pointer
§C++ Info
- name:
rootNode
(ctype:struct hkxNode*
) - offset:
20
(x86)/40
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_selectionSets: Vec<Pointer>
§C++ Info
- name:
selectionSets
(ctype:hkArray<hkxNodeSelectionSet*>
) - offset:
24
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_cameras: Vec<Pointer>
§C++ Info
- name:
cameras
(ctype:hkArray<hkxCamera*>
) - offset:
36
(x86)/64
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_lights: Vec<Pointer>
§C++ Info
- name:
lights
(ctype:hkArray<hkxLight*>
) - offset:
48
(x86)/80
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_meshes: Vec<Pointer>
§C++ Info
- name:
meshes
(ctype:hkArray<hkxMesh*>
) - offset:
60
(x86)/96
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_materials: Vec<Pointer>
§C++ Info
- name:
materials
(ctype:hkArray<hkxMaterial*>
) - offset:
72
(x86)/112
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_inplaceTextures: Vec<Pointer>
§C++ Info
- name:
inplaceTextures
(ctype:hkArray<hkxTextureInplace*>
) - offset:
84
(x86)/128
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_externalTextures: Vec<Pointer>
§C++ Info
- name:
externalTextures
(ctype:hkArray<hkxTextureFile*>
) - offset:
96
(x86)/144
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_skinBindings: Vec<Pointer>
§C++ Info
- name:
skinBindings
(ctype:hkArray<hkxSkinBinding*>
) - offset:
108
(x86)/160
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_appliedTransform: Matrix3
§C++ Info
- name:
appliedTransform
(ctype:hkMatrix3
) - offset:
128
(x86)/176
(x86_64) - type_size:
48
(x86)/48
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkxScene<'de>
impl<'de> Deserialize<'de> for hkxScene<'de>
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<'a> HavokClass for hkxScene<'a>
impl<'a> HavokClass for hkxScene<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkxScene<'a>
impl<'a> RefUnwindSafe for hkxScene<'a>
impl<'a> Send for hkxScene<'a>
impl<'a> Sync for hkxScene<'a>
impl<'a> Unpin for hkxScene<'a>
impl<'a> UnwindSafe for hkxScene<'a>
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