Skip to main content

OBJECT_IMAGE_PARAM

Struct OBJECT_IMAGE_PARAM 

Source
#[repr(C)]
pub struct OBJECT_IMAGE_PARAM {
Show 13 fields pub x: f32, pub y: f32, pub z: f32, pub rx: f32, pub ry: f32, pub rz: f32, pub sx: f32, pub sy: f32, pub sz: f32, pub cx: f32, pub cy: f32, pub cz: f32, pub alpha: f32,
}
Expand description

オブジェクトの画像パラメータ構造体

Fields§

§x: f32

基準座標

§y: f32§z: f32§rx: f32

回転角度 (360.0で1回転)

§ry: f32§rz: f32§sx: f32

拡大率 (1.0=等倍)

§sy: f32§sz: f32§cx: f32

中心座標 (基準座標からの相対)

§cy: f32§cz: f32§alpha: f32

不透明度 (0.0〜1.0/0.0=透明/1.0=不透明)

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.