MCPcopy Create free account
hub / github.com/eliotbo/bevy_plot / extract_component

Method extract_component

src/markers/mod.rs:135–137  ·  view source on GitHub ↗
(item: bevy::ecs::query::QueryItem<Self::Query>)

Source from the content-addressed store, hash-verified

133 type Filter = ();
134
135 fn extract_component(item: bevy::ecs::query::QueryItem<Self::Query>) -> Self {
136 MarkerInstanceMatData(item.0.clone())
137 }
138}
139
140#[derive(Component, Default)]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected