#[repr(i32)]pub enum MaterialType {
Standard = 1,
Displacement = 2,
Composite = 3,
Terrain = 4,
Volume = 5,
VolumeNoise = 6,
Creep = 7,
Hair = 8,
SplatTerrainBake = 9,
Reflection = 10,
LensFlare = 11,
BufferMaterial = 12,
}Expand description
Identifies which material array a MATM entry references
Variants§
Standard = 1
MAT_ — Standard material
Displacement = 2
DIS_ — Displacement material
Composite = 3
CMP_ — Composite material
Terrain = 4
TER_ — Terrain material
Volume = 5
VOL_ — Volume material
VolumeNoise = 6
VON_ — Volume noise material
Creep = 7
CREP — Creep material
Hair = 8
HAI_ — Hair material (defunct)
SplatTerrainBake = 9
STBM — Splat terrain bake material
Reflection = 10
REF_ — Reflection material
LensFlare = 11
LFLR — Lens flare material
BufferMaterial = 12
MADD — Buffer / additional material data
Trait Implementations§
Source§impl Clone for MaterialType
impl Clone for MaterialType
Source§fn clone(&self) -> MaterialType
fn clone(&self) -> MaterialType
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 moreimpl Copy for MaterialType
Source§impl Debug for MaterialType
impl Debug for MaterialType
impl Eq for MaterialType
Source§impl Hash for MaterialType
impl Hash for MaterialType
Source§impl PartialEq for MaterialType
impl PartialEq for MaterialType
impl StructuralPartialEq for MaterialType
Auto Trait Implementations§
impl Freeze for MaterialType
impl RefUnwindSafe for MaterialType
impl Send for MaterialType
impl Sync for MaterialType
impl Unpin for MaterialType
impl UnsafeUnpin for MaterialType
impl UnwindSafe for MaterialType
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