Expand description
Component and system for parallax rendering
Structs§
- Parallax
- Component for sprites that should render according to a parallax relative to the camera.
Note that the parallax_transform_system will overwrite the
Transform
component, so if you want to modify the transform of an entity that has aParallax
component you should modify thetransform
field ofParallax
instead of modifying theTransform
component directly.
Functions§
- parallax_
transform_ system - System that updates the
Transform
component ofParallax
entities.