pub struct Director { /* private fields */ }Expand description
Paused and finished channels retain their sampled values.
Implementations§
Source§impl Director
impl Director
pub fn new(timeline: Timeline) -> Result<Self, TimelineError>
pub fn from_ron(text: &str) -> Result<Self, TimelineError>
pub fn timeline(&self) -> &Timeline
pub fn advance(&mut self)
pub fn seek(&mut self, frame: u32)
pub fn playhead(&self) -> Playhead
pub fn set_playing(&mut self, playing: bool)
pub fn frame(&self) -> u32
pub fn finished(&self) -> bool
pub fn w_slice(&self) -> Drive<f32>
pub fn position(&self, body: &str) -> Drive<Vec4>
pub fn orientation(&self, body: &str) -> Drive<Rotor4>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Director
impl RefUnwindSafe for Director
impl Send for Director
impl Sync for Director
impl Unpin for Director
impl UnsafeUnpin for Director
impl UnwindSafe for Director
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