pub struct ObjectInfo {
pub id: i64,
pub effect_id: i64,
pub layer: u32,
pub frame: u32,
pub frame_total: u32,
pub time: f64,
pub time_total: f64,
pub is_filter_object: bool,
pub frame_s: u32,
pub frame_e: u32,
pub effect_layer: u32,
pub origin_frame: u32,
}Available on crate feature
filter only.Expand description
Fields§
§id: i64描画対象のオブジェクトの固有ID。 アプリ起動ごとの固有IDです。
effect_id: i64オブジェクトの内の対象エフェクトのID。 アプリ起動ごとの固有IDです。
layer: u32オブジェクトのレイヤー番号。
frame: u32オブジェクトの現在のフレーム番号。
frame_total: u32オブジェクトの総フレーム数。
time: f64オブジェクトの現在の時間(秒)。
time_total: f64オブジェクトの総時間(秒)。
is_filter_object: boolオブジェクトがフィルタオブジェクトかどうか。
frame_s: u32シーン基準のオブジェクトの開始フレーム。
frame_e: u32シーン基準のオブジェクトの終了フレーム。
effect_layer: u32対象エフェクトの現在のレイヤー番号。
origin_frame: u32シーン基準のレンダリングの起点フレーム。
Implementations§
Source§impl ObjectInfo
impl ObjectInfo
Sourcepub fn frame_range(&self) -> RangeInclusive<u32> ⓘ
pub fn frame_range(&self) -> RangeInclusive<u32> ⓘ
シーン基準のオブジェクトのフレーム範囲。
Trait Implementations§
Source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
Source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
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 moreimpl Copy for ObjectInfo
Auto Trait Implementations§
impl Freeze for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnsafeUnpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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