pub struct TileAnimationData {
pub m_AnimatedSprites: Vec<PPtr>,
pub m_AnimationSpeed: f32,
pub m_AnimationTimeOffset: f32,
pub m_Flags: Option<u32>,
pub m_IsLooping: Option<bool>,
}Expand description
TileAnimationData is a sub class of the Unity engine since version 2017.2.0b2. Exert from Unity’s scripting documentation: A Struct for the required data for animating a Tile.
Fields§
§m_AnimatedSprites: Vec<PPtr>The array of sprites that are ordered by appearance in the animation.
Vec<PPtr<Sprite>>: (2017.2.0b2 - 2022.3.2f1)
m_AnimationSpeed: f32The animation speed.
m_AnimationTimeOffset: f32§m_Flags: Option<u32>TileAnimationFlags for controlling the Tile Animation. u32: (2022.2.0b1 - 2022.3.2f1)
m_IsLooping: Option<bool>bool: (2017.2.0b2 - 2022.1.24f1)
Trait Implementations§
Source§impl Debug for TileAnimationData
impl Debug for TileAnimationData
Source§impl<'de> Deserialize<'de> for TileAnimationData
impl<'de> Deserialize<'de> for TileAnimationData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TileAnimationData
impl RefUnwindSafe for TileAnimationData
impl Send for TileAnimationData
impl Sync for TileAnimationData
impl Unpin for TileAnimationData
impl UnwindSafe for TileAnimationData
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