pub trait IAsset {
// Required method
fn get_id(&self) -> &str;
}
Expand description
All StereoKit assets implement this interface! This is mostly to help group and hold Asset objects, and is particularly useful when working with Assets at a high level with the Assets class. https://stereokit.net/Pages/StereoKit/IAsset.html
Required Methods§
Sourcefn get_id(&self) -> &str
fn get_id(&self) -> &str
gets the unique identifier of this asset resource! This can be helpful for debugging, managing your assets, or finding them later on! https://stereokit.net/Pages/StereoKit/IAsset/Id.html