pub struct AssetDatabase {
pub m_Assets: Vec<(GUID, Asset)>,
pub m_AssetBundleNames: Option<Vec<(i32, AssetBundleFullName)>>,
pub m_AssetTimeStamps: Option<Vec<(String, AssetTimeStamp)>>,
pub m_Metrics: Option<AssetDatabaseMetrics>,
pub m_UnityShadersVersion: Option<i32>,
pub m_lastValidVersionHashes: Option<Vec<(i32, u32)>>,
}
Expand description
AssetDatabase is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: An Interface for accessing assets and performing operations on assets.
Fields§
§m_Assets: Vec<(GUID, Asset)>
§m_AssetBundleNames: Option<Vec<(i32, AssetBundleFullName)>>
Vec<(i32, AssetBundleFullName)>: (5.0.0f4 - 5.6.7f1)
m_AssetTimeStamps: Option<Vec<(String, AssetTimeStamp)>>
Vec<(String, AssetTimeStamp)>: (3.5.0 - 5.6.7f1)
m_Metrics: Option<AssetDatabaseMetrics>
AssetDatabaseMetrics: (5.0.0f4 - 5.6.7f1)
m_UnityShadersVersion: Option<i32>
i32: (3.5.0 - 5.6.7f1)
m_lastValidVersionHashes: Option<Vec<(i32, u32)>>
Vec<(i32, u32)>: (4.0.0 - 5.6.7f1)
Trait Implementations§
Source§impl Debug for AssetDatabase
impl Debug for AssetDatabase
Source§impl<'de> Deserialize<'de> for AssetDatabase
impl<'de> Deserialize<'de> for AssetDatabase
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 AssetDatabase
impl RefUnwindSafe for AssetDatabase
impl Send for AssetDatabase
impl Sync for AssetDatabase
impl Unpin for AssetDatabase
impl UnwindSafe for AssetDatabase
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