pub enum PresentationMode {
Particle,
PointCloud,
Skin,
Wireframe,
Voxel,
}Expand description
How DreamMatter particles present the avatar mesh.
Variants§
Particle
Particles particle around the mesh surface, forming a cloud silhouette.
PointCloud
Particles converge to mesh vertices, creating a point-cloud skeleton.
Skin
Particles settle on mesh surface, forming a solid-looking skin.
Wireframe
Wireframe: particles trace mesh edges.
Voxel
Voxelized: particles snap to a 3D grid overlapping the mesh.
Implementations§
Trait Implementations§
Source§impl Clone for PresentationMode
impl Clone for PresentationMode
Source§fn clone(&self) -> PresentationMode
fn clone(&self) -> PresentationMode
Returns a duplicate of the value. Read more
1.0.0 · 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 PresentationMode
impl Debug for PresentationMode
Source§impl Default for PresentationMode
impl Default for PresentationMode
Source§fn default() -> PresentationMode
fn default() -> PresentationMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresentationMode
impl<'de> Deserialize<'de> for PresentationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PresentationMode
impl PartialEq for PresentationMode
Source§impl Serialize for PresentationMode
impl Serialize for PresentationMode
impl Copy for PresentationMode
impl Eq for PresentationMode
impl StructuralPartialEq for PresentationMode
Auto Trait Implementations§
impl Freeze for PresentationMode
impl RefUnwindSafe for PresentationMode
impl Send for PresentationMode
impl Sync for PresentationMode
impl Unpin for PresentationMode
impl UnsafeUnpin for PresentationMode
impl UnwindSafe for PresentationMode
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