MCPcopy Create free account

hub / github.com/PhaestusFox/bevy_sprite_animation / functions

Functions202 in github.com/PhaestusFox/bevy_sprite_animation

Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/state.rs:28
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/node_core.rs:46
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/node_id.rs:213
Methodfrom
(value: NodeId)
src/node_id.rs:235
Methodfrom_handle
(handle: Handle<AnimationNode>)
src/lib.rs:212
Methodfrom_handle
(id: Handle<AnimationNode>)
src/node_id.rs:264
Methodfrom_name
(name: impl Into<std::borrow::Cow<'static, str>>)
src/lib.rs:209
Methodfrom_name
(name: impl Into<Cow<'a, str>>)
src/node_id.rs:270
Methodfrom_str
(s: &str)
src/lib.rs:200
Methodfrom_str
turns a &str into a Attribute by attemting to deserialize it with ron if this failes it will just return Attribute::Custom(s.to_string().into())
src/attributes.rs:124
Methodfrom_str
todo!
src/node_id.rs:251
Methodfrom_type
()
src/serde.rs:164
Methodfrom_u64
(id: u64)
src/lib.rs:206
Methodfrom_u64
(id: u64)
src/node_id.rs:261
Methodfrom_world
(world: &mut World)
src/serde.rs:30
Methodget_id
Will Return the id of an Attribute #Returns `None` - If Core Attribute `Some(id)` - If CustomId or IndexId `Some(hash)` - If Custom or Index
src/attributes.rs:201
Methodget_represented_type_info
(&self)
src/lib.rs:91
Methodid
(&self)
src/nodes/scale_node.rs:58
Methodid
(&self)
src/nodes/fps_node.rs:62
Methodid
(&self)
src/nodes/match_node.rs:92
Methodid
(&self)
src/nodes/script_node.rs:120
Methodinto_any
(self: Box<Self>)
src/lib.rs:95
Methodinto_reflect
(self: Box<Self>)
src/lib.rs:107
Methodis_core
(&self)
src/attributes.rs:82
Methodis_custom
(&self)
src/attributes.rs:99
Methodload
( s: &str, _: &mut bevy::asset::LoadContext<'b>, _: &mut Vec<bevy::asset::AssetPath<'s
src/nodes/scale_node.rs:78
Methodload
( s: &str, load_context: &mut bevy::asset::LoadContext<'b>, dependencies: &mut Vec<Ass
src/nodes/variable_node.rs:112
Methodload
( s: &str, load_context: &mut bevy::asset::LoadContext<'b>, dependencies: &mut Vec<Ass
src/nodes/index_node.rs:104
Methodload
( s: &str, _load_context: &mut bevy::asset::LoadContext<'b>, _dependencies: &mut Vec<b
src/nodes/fps_node.rs:17
Methodload
( s: &str, _: &mut bevy::asset::LoadContext<'b>, _dependencies: &mut Vec<bevy::asset::
src/nodes/match_node.rs:122
Methodload
( s: &str, _: &mut bevy::asset::LoadContext<'b>, _dependencies: &mut Vec<bevy::asset::
src/nodes/script_node.rs:569
Functionmain
()
examples/zombie.rs:187
Functionmain
this is an exaple of how to make a single animation in code and add it to you game
examples/basic_code_animation.rs:5
Functionmain
this is an exaple of how to load a single animation from a file and add it to you game
examples/basic_load_animation.rs:5
Methodname
(&self)
src/lib.rs:167
Methodname
(&self)
src/node_core.rs:11
Methodname
(&self)
src/nodes/scale_node.rs:31
Methodname
(&self)
src/nodes/variable_node.rs:51
Methodname
(&self)
src/nodes/index_node.rs:51
Methodname
(&self)
src/nodes/fps_node.rs:43
Methodname
(&self)
src/nodes/match_node.rs:88
Methodname
(&self)
src/nodes/script_node.rs:111
Methodname
(&self)
src/nodes/reference_node.rs:29
Methodnew
(s: &'a str)
src/serde.rs:214
Methodnew
(node: impl AnimationNodeTrait)
src/lib.rs:145
Methodnew
(name: &str, scale: Attribute, next: NodeId<'static>)
src/nodes/scale_node.rs:20
Methodnew
(name: &str, frames: &[(Handle<Image>, f32)], is_loop: bool)
src/nodes/variable_node.rs:23
Methodnew
(name: &str, frames: &[Handle<Image>], is_loop: bool)
src/nodes/index_node.rs:23
Methodnew
(name: &str, fps: u32, next: impl Into<NodeId<'static>>)
src/nodes/fps_node.rs:28
Methodnew
( name: &str, set: Vec<(T, NodeId<'static>)>, check: Attribute, default: NodeI
src/nodes/match_node.rs:50
Methodnew
(script: &str)
src/nodes/script_node.rs:281
Methodnew_attribute
(name: impl Into<Cow<'static, str>>)
src/attributes.rs:185
Methodnew_attribute_id
Returns the Attribute::CustomId() for the given name The Attribute will **not** have a name
src/attributes.rs:192
Methodnew_index
(name: impl Into<Cow<'static, str>>)
src/attributes.rs:174
Methodnew_index_id
Returns the Attribute::IndexId() for the given name The Attribute will **not** have a name
src/attributes.rs:213
Methodnew_with_index
( name: &str, frames: &[(Handle<Image>, f32)], is_loop: bool, index: Attribute
src/nodes/variable_node.rs:34
Methodnew_with_index
( name: &str, frames: &[Handle<Image>], is_loop: bool, index: Attribute, )
src/nodes/index_node.rs:34
Methodpartial_cmp
(&self, other: &Self)
src/node_id.rs:12
Functionplayer_animation_update
( mut player: Query<(&mut ZState, &mut AnimationState), With<Player>>, mut local: Local<[Attri
examples/zombie.rs:101
Functionprint_tree
( nodes: Res<Assets<AnimationNode>>, roots: Res<Handles>, input: Res<Input<KeyCode>>, asset_se
examples/zombie.rs:215
Methodreflect_mut
(&mut self)
src/lib.rs:131
Methodreflect_owned
(self: Box<Self>)
src/lib.rs:135
Methodreflect_ref
(&self)
src/lib.rs:127
Methodrun
(&self, state: &mut AnimationState)
src/nodes/scale_node.rs:35
Methodrun
(&self, state: &mut AnimationState)
src/nodes/variable_node.rs:55
Methodrun
(&self, state: &mut AnimationState)
src/nodes/index_node.rs:55
Methodrun
(&self, state: &mut AnimationState)
src/nodes/fps_node.rs:47
Methodrun
(&self, state: &mut crate::state::AnimationState)
src/nodes/match_node.rs:75
Methodrun
(&self, state: &mut crate::state::AnimationState)
src/nodes/script_node.rs:12
Methodrun
(&self, _: &mut crate::state::AnimationState)
src/nodes/reference_node.rs:21
Methodserialize
(&self, serializer: S)
src/attributes.rs:267
Methodserialize
(&self, data: &mut String, asset_server: &AssetServer)
src/node_core.rs:16
Methodserialize
(&self, serializer: S)
src/node_id.rs:49
Methodserialize
( &self, data: &mut String, _: &AssetServer, )
src/nodes/script_node.rs:147
Methodset_id
(&mut self, id: NodeId<'_>)
src/nodes/scale_node.rs:54
Methodset_id
(&mut self, id: NodeId<'_>)
src/nodes/variable_node.rs:87
Methodset_id
(&mut self, id: NodeId<'_>)
src/nodes/index_node.rs:79
Methodset_id
(&mut self, id: NodeId<'_>)
src/nodes/fps_node.rs:70
Methodset_id
(&mut self, id: NodeId<'_>)
src/nodes/match_node.rs:100
Methodset_id
(&mut self, new: NodeId<'_>)
src/nodes/script_node.rs:137
Methodset_id
(&mut self, _: NodeId<'_>)
src/nodes/reference_node.rs:37
Methodset_persistent
Will stop this Attribute being cleared after a frame it is not set
src/state.rs:85
Functionsetup_animations
(mut commands: Commands, asset_server: Res<AssetServer>)
examples/zombie.rs:239
Functionsetup_animations
( mut commands: Commands, asset_server: Res<AssetServer>, mut nodes: ResMut<Assets<AnimationNode>>
examples/basic_code_animation.rs:17
Functionsetup_animations
(mut commands: Commands, asset_server: Res<AssetServer>)
examples/basic_load_animation.rs:52
Functiontest_asset_server
()
src/lib.rs:40
Functiontest_hash
()
src/attributes.rs:478
Functiontest_serde
()
src/attributes.rs:374
Functiontest_serde
()
src/node_id.rs:143
Functionupdate_delta
(time: Res<Time>, mut states: Query<&mut AnimationState>)
src/state.rs:145
Methodvisit_enum
(self, data: A)
src/attributes.rs:316
Methodvisit_enum
(self, data: A)
src/node_id.rs:95
Methodvisit_map
(self, mut map: A)
src/nodes/scale_node.rs:109
Methodvisit_map
(self, mut map: A)
src/nodes/variable_node.rs:148
Methodvisit_map
(self, mut map: A)
src/nodes/index_node.rs:139
Methodvisit_str
(self, v: &str)
src/attributes.rs:355
Methodvisit_str
(self, v: &str)
src/node_id.rs:124
Methodvisit_u64
(self, v: u64)
src/attributes.rs:345
Methodvisit_u64
(self, v: u64)
src/node_id.rs:117
Functionwrite_dot
( input: Res<Input<KeyCode>>, mut local: Local<KeyChain>, nodes: Res<Assets<AnimationNode>>, r
src/dot.rs:30
← previousnext →101–200 of 202, ranked by callers