pub struct VmdSharedContext { /* private fields */ }Expand description
Owns all VMD channels produced by one parser pass.
The parsed animation is the typed scene/raw-track view used by camera, light, self-shadow, and property consumers. The import result retains the runtime-facing bone/morph/property representation used by model-aware clip construction. Both views are owned by the context so callers can create a clip and copy scene channels without reparsing the input bytes.
Implementations§
pub fn import_result(&self) -> &VmdImportResult
pub fn parsed_animation(&self) -> &VmdParsedAnimation
pub fn summary(&self) -> &VmdSharedContextSummary
Trait Implementations§
Source§fn clone(&self) -> VmdSharedContext
fn clone(&self) -> VmdSharedContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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