Enum immense::MeshGrouping
source · pub enum MeshGrouping {
AllTogether,
Individual,
ByColor,
}
Expand description
A policy for grouping meshes in the object file.
Use this to specify how you want to work with your meshes later. E.g. if you want to use Blender to procedurally material each mesh based on their location, you want MeshGrouping::Individual, but if you want to print the mesh with a 3D printer, you want MeshGrouping::AllTogether.
Variants
AllTogether
All meshes will be combined into one object.
Individual
Each mesh will be its own object.
ByColor
Each mesh is grouped with others of the same color.
Trait Implementations
sourceimpl Clone for MeshGrouping
impl Clone for MeshGrouping
sourcefn clone(&self) -> MeshGrouping
fn clone(&self) -> MeshGrouping
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MeshGrouping
impl Debug for MeshGrouping
sourceimpl Default for MeshGrouping
impl Default for MeshGrouping
The default is MeshGrouping::AllTogether.
sourcefn default() -> MeshGrouping
fn default() -> MeshGrouping
Returns the “default value” for a type. Read more
impl Copy for MeshGrouping
Auto Trait Implementations
impl RefUnwindSafe for MeshGrouping
impl Send for MeshGrouping
impl Sync for MeshGrouping
impl Unpin for MeshGrouping
impl UnwindSafe for MeshGrouping
Blanket Implementations
sourceimpl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
sourcefn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method Read more
sourcefn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default Read more
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.