Skip to main content

OBJECT_INFO

Struct OBJECT_INFO 

Source
#[repr(C)]
pub struct OBJECT_INFO {
Show 20 fields pub id: i64, pub frame: i32, pub frame_total: i32, pub time: f64, pub time_total: f64, pub width: i32, pub height: i32, pub sample_index: i64, pub sample_total: i64, pub sample_num: i32, pub channel_num: i32, pub effect_id: i64, pub flag: i32, pub layer: i32, pub index: i32, pub num: i32, pub frame_s: i32, pub frame_e: i32, pub effect_layer: i32, pub origin_frame: i32,
}
Expand description

オブジェクト情報構造体

Fields§

§id: i64

オブジェクトのID (アプリ起動毎の固有ID) ※描画対象のオブジェクトの固有ID

§frame: i32

オブジェクトの現在のフレーム番号

§frame_total: i32

オブジェクトの総フレーム数

§time: f64

オブジェクトの現在の時間(秒)

§time_total: f64

オブジェクトの総時間(秒)

§width: i32

オブジェクトの現在の画像サイズの幅 (画像フィルタのみ)

§height: i32

オブジェクトの現在の画像サイズの高さ (画像フィルタのみ)

§sample_index: i64

オブジェクトの現在の音声サンプル位置 (音声フィルタのみ)

§sample_total: i64

オブジェクトの総サンプル数 (音声フィルタのみ)

§sample_num: i32

オブジェクトの現在の音声サンプル数 (音声フィルタのみ)

§channel_num: i32

オブジェクトの現在の音声チャンネル数 (音声フィルタのみ) ※通常2になります

§effect_id: i64

オブジェクトの内の対象エフェクトのID (アプリ起動毎の固有ID) ※処理対象のフィルタ効果、オブジェクト入出力の固有ID

§flag: i32

フラグ

§layer: i32

オブジェクトの現在のレイヤー番号

§index: i32

複数オブジェクト時の現在の対象番号

§num: i32

複数オブジェクト時の対象数 (1 = 単体オブジェクト / 0 = 不定)

§frame_s: i32

全体(シーン)基準のオブジェクトの開始フレーム(0からの番号)

§frame_e: i32

全体(シーン)基準のオブジェクトの終了フレーム(0からの番号)

§effect_layer: i32

対象エフェクトの現在のレイヤー番号 ※自身のオブジェクトのレイヤー番号

§origin_frame: i32

全体(シーン)基準のレンダリングの起点フレーム(0からの整数)

Implementations§

Source§

impl OBJECT_INFO

Source

pub const FLAG_FILTER_OBJECT: i32 = 1

フィルタオブジェクトか?

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.