{"id":20410894,"url":"https://github.com/mintlu8/bevy_mod_opacity","last_synced_at":"2025-07-25T05:33:08.849Z","repository":{"id":257808827,"uuid":"867371525","full_name":"mintlu8/bevy_mod_opacity","owner":"mintlu8","description":"Hierarchical opacity for bevy.","archived":false,"fork":false,"pushed_at":"2025-04-25T04:19:52.000Z","size":127,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T12:46:45.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mintlu8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-04T00:03:30.000Z","updated_at":"2025-05-18T06:57:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f247e5f-ea2a-4fb5-8d32-fbadf57de708","html_url":"https://github.com/mintlu8/bevy_mod_opacity","commit_stats":null,"previous_names":["mintlu8/bevy_mod_opacity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mintlu8/bevy_mod_opacity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fbevy_mod_opacity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fbevy_mod_opacity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fbevy_mod_opacity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fbevy_mod_opacity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mintlu8","download_url":"https://codeload.github.com/mintlu8/bevy_mod_opacity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fbevy_mod_opacity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266961936,"owners_count":24012988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:48:59.514Z","updated_at":"2025-07-25T05:33:08.842Z","avatar_url":"https://github.com/mintlu8.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_mod_opacity\n\nHierarchical opacity for bevy.\n\n## The `Opacity` component\n\nWhen `Opacity` is inserted to an entity, the entity and all its descendants\nwill be affected by the opacity value. Unlike bevy components like `Visibility`\n`Opacity` does not need to be put on every entity in the tree.\nEntities with no `Opacity` ancestor will not be affected by this crate.\n\n## Support for native types\n\nWe innately support `2d`, `3d` and `ui`, this includes `Sprite`, `TextColor`, `StandardMaterial`,\n`ColorMaterial`, `Image`, `BackgroundColor` and `ForegroundColor`.\n\nAdditionally you can implement `OpacityQuery` or derive `Opacity` to make your own types\nand materials work with this crate. Combining `OpacityQuery` with custom `QueryData` can\nadd support for third party types.\n\n## `FadeIn` and `FadeOut`\n\nThese components adds a quick way to add and remove entities from your scenes smoothly.\nYou should add a `FadeIn` during the `spawn` call and use `entity.insert(FadeOut)` instead\nof `entity.despawn_recursive()`\n\n## FAQ\n\n* My 3d scene is not fading correctly\n\n Ensure materials are duplicated and unique, since we write to the underlying material directly.\n Also make sure `AlphaMode` is set to `Blend` if applicable.\n\n## Versions\n\n| bevy | bevy_mod_opacity   |\n|------|--------------------|\n| 0.14 | 0.1                |\n| 0.15 | 0.2                |\n| 0.16 | 0.3                |\n\n## License\n\nLicense under either of\n\nApache License, Version 2.0 (LICENSE-APACHE or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\nMIT license (LICENSE-MIT or \u003chttp://opensource.org/licenses/MIT\u003e)\nat your option.\n\n## Contribution\n\nContributions are welcome!\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintlu8%2Fbevy_mod_opacity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmintlu8%2Fbevy_mod_opacity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintlu8%2Fbevy_mod_opacity/lists"}