Struct ark_api::world::MeshStyleData
source · #[repr(C)]pub struct MeshStyleData {
pub diffuse_tint: Vec4,
pub flags: MeshStyleFlags,
}Expand description
Mesh style. Differs from world::MeshStyle in that MeshStyle is an entity, but
MeshStyleData is plain data.
Fields§
§diffuse_tint: Vec4Diffuse color tint
flags: MeshStyleFlagsStyle flags
Implementations§
Trait Implementations§
source§impl Clone for MeshStyleData
impl Clone for MeshStyleData
source§fn clone(&self) -> MeshStyleData
fn clone(&self) -> MeshStyleData
Returns a copy 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 MeshStyleData
impl Debug for MeshStyleData
source§impl Default for MeshStyleData
impl Default for MeshStyleData
impl Copy for MeshStyleData
Auto Trait Implementations§
impl RefUnwindSafe for MeshStyleData
impl Send for MeshStyleData
impl Sync for MeshStyleData
impl Unpin for MeshStyleData
impl UnwindSafe for MeshStyleData
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