pub struct Decal {
pub opaque: bool,
pub material: i32,
}Expand description
DecalComponent (0x38 bytes, serialized alpha, material): setup takes the description’s alpha; entity event 1 (the ClearArea’s state 2) and the build’s state 8 make it opaque; a collapse switches to the DestroyDescription’s material. Each change re-adds the map decal. See docs/DECALS.md.
Original: FUN_140120ca0, FUN_14011ccc0, FUN_14010cfb0, FUN_140122aa0, FUN_140120c30.
Fields§
§opaque: boolis 1.
material: i32Index into the description’s materials.
Trait Implementations§
impl Copy for Decal
impl StructuralPartialEq for Decal
Auto Trait Implementations§
impl Freeze for Decal
impl RefUnwindSafe for Decal
impl Send for Decal
impl Sync for Decal
impl Unpin for Decal
impl UnsafeUnpin for Decal
impl UnwindSafe for Decal
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