MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / anim_track_count

Function anim_track_count

native/watchos/src/scene.rs:449–455  ·  view source on GitHub ↗
(handle: u32)

Source from the content-addressed store, hash-verified

447}
448
449pub fn anim_track_count(handle: u32) -> i64 {
450 with(|inner| {
451 if let Some(Some(n)) = inner.nodes.get(handle as usize) {
452 n.anim_tracks.len() as i64
453 } else { 0 }
454 })
455}
456
457pub fn anim_track_info(handle: u32, idx: i64, out: *mut AnimTrackInfo) {
458 if out.is_null() { return; }

Callers 1

Calls 2

withFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected