pub struct Side {
pub id: u32,
pub plane: String,
pub material: String,
pub u_axis: String,
pub v_axis: String,
pub rotation: Option<f32>,
pub lightmap_scale: u16,
pub smoothing_groups: i32,
pub flags: Option<u32>,
pub dispinfo: Option<DispInfo>,
}Expand description
Represents a side of a solid object in the VMF world.
Fields§
§id: u32The unique ID of the side.
plane: StringThe plane equation of the side.
material: StringThe material used on the side.
u_axis: StringThe U axis of the texture coordinates.
v_axis: StringThe V axis of the texture coordinates.
rotation: Option<f32>The rotation of the texture.
lightmap_scale: u16The scale of the lightmap.
smoothing_groups: i32The smoothing groups that this side belongs to.
flags: Option<u32>flags
dispinfo: Option<DispInfo>The displacement info of the side, if any.
Trait Implementations§
Source§impl VmfSerializable for Side
impl VmfSerializable for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl Freeze for Side
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnwindSafe for Side
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