pub struct FbxSmoothingLayer {
pub mapping: Option<String>,
pub values: Vec<i32>,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
A preserved FBX LayerElementSmoothing.
Smoothing is an integer flag per edge or per polygon – whether the edge is
soft, or the polygon smooth-shaded – and is kept separate from
FbxCreaseLayer because that one is a floating-point weight. Rounding one
through the other’s type would quietly change authored crease values.
Fields§
§mapping: Option<String>FBX mapping information type: ByEdge or ByPolygon.
values: Vec<i32>One flag per edge or per polygon, matching mapping.
Trait Implementations§
Source§impl Clone for FbxSmoothingLayer
impl Clone for FbxSmoothingLayer
Source§fn clone(&self) -> FbxSmoothingLayer
fn clone(&self) -> FbxSmoothingLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FbxSmoothingLayer
impl Debug for FbxSmoothingLayer
Source§impl Default for FbxSmoothingLayer
impl Default for FbxSmoothingLayer
Source§fn default() -> FbxSmoothingLayer
fn default() -> FbxSmoothingLayer
Returns the “default value” for a type. Read more
impl Eq for FbxSmoothingLayer
Source§impl PartialEq for FbxSmoothingLayer
impl PartialEq for FbxSmoothingLayer
impl StructuralPartialEq for FbxSmoothingLayer
Auto Trait Implementations§
impl Freeze for FbxSmoothingLayer
impl RefUnwindSafe for FbxSmoothingLayer
impl Send for FbxSmoothingLayer
impl Sync for FbxSmoothingLayer
impl Unpin for FbxSmoothingLayer
impl UnsafeUnpin for FbxSmoothingLayer
impl UnwindSafe for FbxSmoothingLayer
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