pub struct TMFPrecisionInfo {
pub vertex_precision: VertexPrecisionMode,
pub normal_precision: NormalPrecisionMode,
pub uv_prec: UvPrecisionMode,
pub tangent_prec: TangentPrecisionMode,
}Expand description
Settings for saving of a TMF mesh.
Fields§
§vertex_precision: VertexPrecisionModeHow much can the position of any vertex deviate, as a portion of the shortest edge in the model.
normal_precision: NormalPrecisionModeHow much can normal angle deviate, as an angle in degrees.
uv_prec: UvPrecisionModeHow much can saved UVs deviate.
tangent_prec: TangentPrecisionModeHow much can saved tangents deviate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TMFPrecisionInfo
impl RefUnwindSafe for TMFPrecisionInfo
impl Send for TMFPrecisionInfo
impl Sync for TMFPrecisionInfo
impl Unpin for TMFPrecisionInfo
impl UnwindSafe for TMFPrecisionInfo
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