pub struct SealedRanimScene {
pub(crate) total_secs: f64,
pub(crate) animations: Vec<AnimationCell>,
pub(crate) time_marks: Vec<(f64, TimeMark)>,
}Expand description
Immutable animation recipe produced by RanimScene::seal.
Fields§
§total_secs: f64§animations: Vec<AnimationCell>§time_marks: Vec<(f64, TimeMark)>Implementations§
Source§impl SealedRanimScene
impl SealedRanimScene
Sourcepub fn into_evaluator(self, logic_fps: f64) -> SceneEvaluator
pub fn into_evaluator(self, logic_fps: f64) -> SceneEvaluator
Consume this scene into a SceneEvaluator driving session.
logic_fps is the fixed logic grid resolution; the time model defaults
to 120 Hz. Iterative (stateful) segments require the evaluator: the pure
eval_at_sec path does not advance their state.
Sourcepub fn total_secs(&self) -> f64
pub fn total_secs(&self) -> f64
Total scene duration.
Sourcepub fn time_marks(&self) -> &[(f64, TimeMark)]
pub fn time_marks(&self) -> &[(f64, TimeMark)]
Scene time marks.
Sourcepub fn get_animation_infos(&self) -> Vec<AnimationInfo>
pub fn get_animation_infos(&self) -> Vec<AnimationInfo>
Hierarchical runtime animation information for preview tooling.
Auto Trait Implementations§
impl Freeze for SealedRanimScene
impl !RefUnwindSafe for SealedRanimScene
impl !Send for SealedRanimScene
impl !Sync for SealedRanimScene
impl Unpin for SealedRanimScene
impl UnsafeUnpin for SealedRanimScene
impl !UnwindSafe for SealedRanimScene
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.