MTex

Struct MTex 

Source
#[repr(C, packed(4))]
pub struct MTex {
Show 66 fields pub texco: i16, pub mapto: i16, pub maptoneg: i16, pub blendtype: i16, pub object: Pointer<Object>, pub tex: Pointer<Tex>, pub uvname: [i8; 64], pub projx: i8, pub projy: i8, pub projz: i8, pub mapping: i8, pub brush_map_mode: i8, pub brush_angle_mode: i8, pub _pad: [i8; 2], pub ofs: [f32; 3], pub size: [f32; 3], pub rot: f32, pub random_angle: f32, pub _pad0: [i8; 2], pub colormodel: i16, pub normapspace: i16, pub which_output: i16, pub r: f32, pub g: f32, pub b: f32, pub k: f32, pub def_var: f32, pub colfac: f32, pub varfac: f32, pub norfac: f32, pub dispfac: f32, pub warpfac: f32, pub colspecfac: f32, pub mirrfac: f32, pub alphafac: f32, pub difffac: f32, pub specfac: f32, pub emitfac: f32, pub hardfac: f32, pub raymirrfac: f32, pub translfac: f32, pub ambfac: f32, pub colemitfac: f32, pub colreflfac: f32, pub coltransfac: f32, pub densfac: f32, pub scatterfac: f32, pub reflfac: f32, pub timefac: f32, pub lengthfac: f32, pub clumpfac: f32, pub dampfac: f32, pub kinkfac: f32, pub kinkampfac: f32, pub roughfac: f32, pub padensfac: f32, pub gravityfac: f32, pub lifefac: f32, pub sizefac: f32, pub ivelfac: f32, pub fieldfac: f32, pub twistfac: f32, pub shadowfac: f32, pub zenupfac: f32, pub zendownfac: f32, pub blendfac: f32,
}

Fields§

§texco: i16§mapto: i16§maptoneg: i16§blendtype: i16§object: Pointer<Object>§tex: Pointer<Tex>§uvname: [i8; 64]§projx: i8§projy: i8§projz: i8§mapping: i8§brush_map_mode: i8§brush_angle_mode: i8§_pad: [i8; 2]§ofs: [f32; 3]§size: [f32; 3]§rot: f32§random_angle: f32§_pad0: [i8; 2]§colormodel: i16§normapspace: i16§which_output: i16§r: f32§g: f32§b: f32§k: f32§def_var: f32§colfac: f32§varfac: f32§norfac: f32§dispfac: f32§warpfac: f32§colspecfac: f32§mirrfac: f32§alphafac: f32§difffac: f32§specfac: f32§emitfac: f32§hardfac: f32§raymirrfac: f32§translfac: f32§ambfac: f32§colemitfac: f32§colreflfac: f32§coltransfac: f32§densfac: f32§scatterfac: f32§reflfac: f32§timefac: f32§lengthfac: f32§clumpfac: f32§dampfac: f32§kinkfac: f32§kinkampfac: f32§roughfac: f32§padensfac: f32§gravityfac: f32§lifefac: f32§sizefac: f32§ivelfac: f32§fieldfac: f32§twistfac: f32§shadowfac: f32§zenupfac: f32§zendownfac: f32§blendfac: f32

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for MTex

§

impl RefUnwindSafe for MTex

§

impl Send for MTex

§

impl Sync for MTex

§

impl Unpin for MTex

§

impl UnwindSafe for MTex

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.