pub struct SceneObjectData {
pub self_key: Option<Uoid>,
pub synched: SynchedObjectData,
pub draw_interface: Option<Uoid>,
pub sim_interface: Option<Uoid>,
pub coord_interface: Option<Uoid>,
pub audio_interface: Option<Uoid>,
pub generics: Vec<Option<Uoid>>,
pub modifiers: Vec<Option<Uoid>>,
pub scene_node: Option<Uoid>,
}Expand description
Parsed plSceneObject data.
Fields§
§self_key: Option<Uoid>Self-key Uoid.
synched: SynchedObjectDataSynched object data.
draw_interface: Option<Uoid>Draw interface key (optional).
sim_interface: Option<Uoid>Simulation interface key (optional).
coord_interface: Option<Uoid>Coordinate interface key (optional).
audio_interface: Option<Uoid>Audio interface key (optional).
generics: Vec<Option<Uoid>>Generic interface keys.
modifiers: Vec<Option<Uoid>>Modifier keys.
scene_node: Option<Uoid>Scene node key.
Implementations§
Source§impl SceneObjectData
impl SceneObjectData
Sourcepub fn read(reader: &mut impl Read) -> Result<Self>
pub fn read(reader: &mut impl Read) -> Result<Self>
Read a plSceneObject from the stream.
Format: [creatable_class_idx (i16)] [self_key] [synched_object] [draw_iface_key] [sim_iface_key] [coord_iface_key] [audio_iface_key] [n_generics] [generic_keys…] [n_modifiers] [modifier_keys…] [scene_node_key]
Trait Implementations§
Source§impl Clone for SceneObjectData
impl Clone for SceneObjectData
Source§fn clone(&self) -> SceneObjectData
fn clone(&self) -> SceneObjectData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SceneObjectData
impl RefUnwindSafe for SceneObjectData
impl Send for SceneObjectData
impl Sync for SceneObjectData
impl Unpin for SceneObjectData
impl UnsafeUnpin for SceneObjectData
impl UnwindSafe for SceneObjectData
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