[−][src]Struct ofx_sys::OfxTimeLineSuiteV1
@brief Suite to control timelines
This suite is used to enquire and control a timeline associated with a plug-in instance.
This is an optional suite in the Image Effect API.
Fields
getTime: Option<unsafe extern "C" fn(instance: *mut c_void, time: *mut f64) -> OfxStatus>
@brief Get the time value of the timeline that is controlling to the indicated effect.
\arg instance - is the instance of the effect changing the timeline, cast to a void * \arg time - a pointer through which the timeline value should be returned
This function returns the current time value of the timeline associated with the effect instance.
@returns
- ::kOfxStatOK - the time enquiry was sucessful
- ::kOfxStatFailed - the enquiry failed for some host specific reason
- ::kOfxStatErrBadHandle - the effect handle was invalid
gotoTime: Option<unsafe extern "C" fn(instance: *mut c_void, time: f64) -> OfxStatus>
@brief Move the timeline control to the indicated time.
\arg instance - is the instance of the effect changing the timeline, cast to a void * \arg time - is the time to change the timeline to. This is in the temporal coordinate system of the effect.
This function moves the timeline to the indicated frame and returns. Any side effects of the timeline change are also triggered and completed before this returns (for example instance changed actions and renders if the output of the effect is being viewed).
@returns
- ::kOfxStatOK - the time was changed sucessfully, will all side effects if the change completed
- ::kOfxStatFailed - the change failed for some host specific reason
- ::kOfxStatErrBadHandle - the effect handle was invalid
- ::kOfxStatErrValue - the time was an illegal value
getTimeBounds: Option<unsafe extern "C" fn(instance: *mut c_void, firstTime: *mut f64, lastTime: *mut f64) -> OfxStatus>
@brief Get the current bounds on a timeline
\arg instance - is the instance of the effect changing the timeline, cast to a void * \arg firstTime - is the first time on the timeline. This is in the temporal coordinate system of the effect. \arg lastTime - is last time on the timeline. This is in the temporal coordinate system of the effect.
This function
@returns
- ::kOfxStatOK - the time enquiry was sucessful
- ::kOfxStatFailed - the enquiry failed for some host specific reason
- ::kOfxStatErrBadHandle - the effect handle was invalid
Trait Implementations
impl Clone for OfxTimeLineSuiteV1
[src]
fn clone(&self) -> OfxTimeLineSuiteV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for OfxTimeLineSuiteV1
[src]
impl Debug for OfxTimeLineSuiteV1
[src]
Auto Trait Implementations
impl Send for OfxTimeLineSuiteV1
impl Sync for OfxTimeLineSuiteV1
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,