Skip to main content

EDIT_INFO

Struct EDIT_INFO 

Source
#[repr(C)]
pub struct EDIT_INFO {
Show 19 fields pub width: i32, pub height: i32, pub rate: i32, pub scale: i32, pub sample_rate: i32, pub frame: i32, pub layer: i32, pub frame_max: i32, pub layer_max: i32, pub display_frame_start: i32, pub display_layer_start: i32, pub display_frame_num: i32, pub display_layer_num: i32, pub select_range_start: i32, pub select_range_end: i32, pub grid_bpm_tempo: f32, pub grid_bpm_beat: i32, pub grid_bpm_offset: f32, pub scene_id: i32,
}
Expand description

編集情報構造体 フレーム番号、レイヤー番号が0からの番号になります ※UI表示と異なります

Fields§

§width: i32

シーンの解像度

§height: i32

シーンの解像度

§rate: i32

シーンのフレームレート

§scale: i32

シーンのフレームレート

§sample_rate: i32

シーンのサンプリングレート

§frame: i32

現在のカーソルのフレーム番号

§layer: i32

現在の選択レイヤー番号

§frame_max: i32

オブジェクトが存在する最大のフレーム番号

§layer_max: i32

オブジェクトが存在する最大のレイヤー番号

§display_frame_start: i32

レイヤー編集で表示されているフレームの開始番号

§display_layer_start: i32

レイヤー編集で表示されているレイヤーの開始番号

§display_frame_num: i32

レイヤー編集で表示されているフレーム数 ※厳密ではないです

§display_layer_num: i32

レイヤー編集で表示されているレイヤー数 ※厳密ではないです

§select_range_start: i32

フレーム範囲選択の開始フレーム番号 ※未選択の場合は-1

§select_range_end: i32

フレーム範囲選択の終了フレーム番号 ※未選択の場合は-1

§grid_bpm_tempo: f32

グリッド(BPM)のテンポ

§grid_bpm_beat: i32

グリッド(BPM)の拍子

§grid_bpm_offset: f32

グリッド(BPM)の基準時間

§scene_id: i32

シーンのID

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.