pub struct SpriteSheet {
pub material_path: String,
pub source_image: String,
pub width: i32,
pub height: i32,
pub unknown_flag: bool,
pub sprites: Vec<Sprite>,
pub material: Option<String>,
}Expand description
Original: UI::SpriteSheet, Runtime 0x18011ffc0.
Fields§
§material_path: StringThe material’s path.
source_image: StringThe image file of the sheet.
width: i32The sheet’s width in pixels.
height: i32The sheet’s height in pixels.
unknown_flag: boolNot identified yet.
sprites: Vec<Sprite>The sprites.
material: Option<String>Material instance whose diffuse texture is the sheet image.
Implementations§
Trait Implementations§
Source§impl Clone for SpriteSheet
impl Clone for SpriteSheet
Source§fn clone(&self) -> SpriteSheet
fn clone(&self) -> SpriteSheet
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 moreAuto Trait Implementations§
impl Freeze for SpriteSheet
impl RefUnwindSafe for SpriteSheet
impl Send for SpriteSheet
impl Sync for SpriteSheet
impl Unpin for SpriteSheet
impl UnsafeUnpin for SpriteSheet
impl UnwindSafe for SpriteSheet
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