MCPcopy Create free account
hub / github.com/PerroEngine/Perro / expect_f32

Function expect_f32

perro_source/core/perro_animation/src/panim/fields.rs:398–402  ·  view source on GitHub ↗
(value: &SceneValue, key: &str, line_no: usize)

Source from the content-addressed store, hash-verified

396 return Err(format!(
397 "line {}: bone name cannot be empty in `{}`",
398 line_no, key
399 ));
400 }
401 AnimationBoneSelector::Name(stripped.to_string().into())
402 };
403
404 Ok(Some((selector, property)))
405}

Callers 6

parse_node_2d_actionFunction · 0.85
parse_camera_3d_actionFunction · 0.85
parse_light_3d_actionFunction · 0.85

Calls 1

as_f32Method · 0.45

Tested by

no test coverage detected