INNER CODE UNIT · Rust

prefab

shawnscode/crayon · modules/world/src/lib.rs:62

pub fn prefab(handle: PrefabHandle) -> Option<Arc<Prefab>> {
    ctx().prefab(handle)
}

/// Query the resource state of specified prefab.
#[inline]
pub fn prefab_state(handle: PrefabHandle) -> ResourceState {
    ctx().prefab_state(handle)
}

/// Delete a prefab object from this world.
#[inline]
pub fn delete_prefab(handle: PrefabHandle) {
    ctx().delete_prefab(handle);
}

/// Return the default resources in this world.
#[inline]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…