pub struct DispInfo {
pub power: u32,
pub start_position: Point3D,
pub elevation: f32,
pub subdiv: bool,
pub normals: Vec<Point3D>,
pub distances: Vec<f32>,
pub offsets: Vec<Point3D>,
pub offset_normals: Vec<Point3D>,
pub alphas: Vec<f32>,
pub triangle_tags: Vec<u32>,
pub allowed_verts: Vec<i32>,
pub flags: u32,
}Expand description
Represents displacement information for terrain
Fields§
§power: u32§start_position: Point3D§elevation: f32§subdiv: bool§normals: Vec<Point3D>§distances: Vec<f32>§offsets: Vec<Point3D>§offset_normals: Vec<Point3D>§alphas: Vec<f32>§allowed_verts: Vec<i32>§flags: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for DispInfo
impl RefUnwindSafe for DispInfo
impl Send for DispInfo
impl Sync for DispInfo
impl Unpin for DispInfo
impl UnsafeUnpin for DispInfo
impl UnwindSafe for DispInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more