PointDensity

Struct PointDensity 

Source
#[repr(C, packed(4))]
pub struct PointDensity {
Show 27 fields pub flag: i16, pub falloff_type: i16, pub falloff_softness: f32, pub radius: f32, pub source: i16, pub _pad0: [i8; 2], pub color_source: i16, pub ob_color_source: i16, pub totpoints: i32, pub object: Pointer<Object>, pub psys: i32, pub psys_cache_space: i16, pub ob_cache_space: i16, pub vertex_attribute_name: [i8; 64], pub point_tree: Pointer<Void>, pub point_data: Pointer<f32>, pub noise_size: f32, pub noise_depth: i16, pub noise_influence: i16, pub noise_basis: i16, pub _pad1: [i8; 6], pub noise_fac: f32, pub speed_scale: f32, pub falloff_speed_scale: f32, pub _pad2: [i8; 4], pub coba: Pointer<ColorBand>, pub falloff_curve: Pointer<CurveMapping>,
}

Fields§

§flag: i16§falloff_type: i16§falloff_softness: f32§radius: f32§source: i16§_pad0: [i8; 2]§color_source: i16§ob_color_source: i16§totpoints: i32§object: Pointer<Object>§psys: i32§psys_cache_space: i16§ob_cache_space: i16§vertex_attribute_name: [i8; 64]§point_tree: Pointer<Void>§point_data: Pointer<f32>§noise_size: f32§noise_depth: i16§noise_influence: i16§noise_basis: i16§_pad1: [i8; 6]§noise_fac: f32§speed_scale: f32§falloff_speed_scale: f32§_pad2: [i8; 4]§coba: Pointer<ColorBand>§falloff_curve: Pointer<CurveMapping>

Trait Implementations§

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.