Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/annieversary/bevy_color_blindness
/ functions
Functions
12 in github.com/annieversary/bevy_color_blindness
⨍
Functions
12
◇
Types & classes
7
↓ 1 callers
Method
cycle
Changes `self` to the next `ColorBlindnessMode`. Useful for writing something like the following: ```rust # use bevy::prelude::*; # use bevy_color_b
src/lib.rs:253
↓ 1 callers
Method
percentages
Returns the percentages of colors to mix corresponding to each type of color blindness. [Source](https://web.archive.org/web/20081014161121/http://ww
src/lib.rs:185
↓ 1 callers
Method
run
Runs the node logic This is where you encode draw commands. This will run on every view on which the graph is running. If you don't want your effect
src/plugin.rs:149
Method
build
(&self, app: &mut App)
src/plugin.rs:47
Function
change_mode
(input: Res<Input<KeyCode>>, mut cameras: Query<&mut ColorBlindnessCamera>)
examples/main.rs:81
Method
finish
(&self, app: &mut App)
src/plugin.rs:103
Method
from_world
(world: &mut World)
src/plugin.rs:127
Function
main
()
examples/main.rs:10
Method
new
Creates a new `ColorBlindnessPercentages`
src/lib.rs:176
Function
setup
set up a simple 3D scene
examples/main.rs:22
Method
update
This will run every frame before the run() method The important difference is that `self` is `mut` here
src/plugin.rs:137
Function
update_percentages
updates the percentages in the post processing material when the values in `ColorBlindnessCamera` change
src/plugin.rs:337