Functions§
- image_
to_ edges - Takes a Bevy Image type and an boolean to indicate whether to translate the points you get back to either side of (0, 0) instead of everything in positive x and y
- march_
edges - Marching squares adjacent, walks all the pixels in the provided data and keeps track of any that have at least one transparent / zero value neighbor then, while sorting into drawing order, groups them into sets of connected pixels
- multi_
convex_ hull_ collider_ raw - Generate as many bevy_rapier2d convex_hull colliders as it can find in the image, coordinates left alone and all in positive x and y
- multi_
convex_ hull_ collider_ translated - Generate as many bevy_rapier2d convex_hull colliders as it can find in the image, coordinates translated to either side of (0, 0)
- multi_
convex_ polyline_ collider_ raw - Generate as many bevy_rapier2d convex_polyline colliders as it can find in the image, coordinates left alone and all in positive x and y
- multi_
convex_ polyline_ collider_ translated - Generate as many bevy_rapier2d convex_polyline colliders as it can find in the image, coordinates translated to either side of (0, 0)
- multi_
heightfield_ collider_ raw - Generate as many bevy_rapier2d heightfield colliders as it can find in the image, coordinates left alone and all in positive x and y
- multi_
heightfield_ collider_ translated - Generate as many bevy_rapier2d heightfield colliders as it can find in the image, coordinates translated to either side of (0, 0)
- multi_
image_ edge_ translated - If there’s more than one sprite / object in the image, this returns all it finds, with coordinates translated to either side of (0, 0)
- multi_
image_ edges_ raw - If there’s more than one sprite / object in the image, this returns all it finds, with coordinates left alone and all in positive x and y
- multi_
polyline_ collider_ raw - Generate as many bevy_rapier2d polyline colliders as it can find in the image, coordinates left alone and all in positive x and y
- multi_
polyline_ collider_ translated - Generate as many bevy_rapier2d polyline colliders as it can find in the image, coordinates translated to either side of (0, 0)
- single_
convex_ hull_ collider_ raw - Generate a single bevy_rapier2d convex_hull collider from the image, coordinates left alone and all in positive x and y
- single_
convex_ hull_ collider_ translated - Generate a single bevy_rapier2d convex_hull collider from the image, coordinates translated to either side of (0, 0)
- single_
convex_ polyline_ collider_ raw - Generate a single bevy_rapier2d convex_polyline collider from the image, coordinates left alone and all in positive x and y
- single_
convex_ polyline_ collider_ translated - Generate a single bevy_rapier2d convex_polyline collider from the image, coordinates translated to either side of (0, 0)
- single_
heightfield_ collider_ raw - Generate a single bevy_rapier2d heightfield collider from the image, coordinates left alone and all in positive x and y
- single_
heightfield_ collider_ translated - Generate a single bevy_rapier2d heightfield collider from the image, coordinates translated to either side of (0, 0)
- single_
image_ edge_ raw - If there’s only one sprite / object in the image, this returns just one, with coordinates left alone and all in positive x and y
- single_
image_ edge_ translated - If there’s only one sprite / object in the image, this returns just one, with coordinates translated to either side of (0, 0)
- single_
polyline_ collider_ raw - Generate a single bevy_rapier2d polyline collider from the image, coordinates left alone and all in positive x and y
- single_
polyline_ collider_ translated - Generate a single bevy_rapier2d polyline collider from the image, coordinates translated to either side of (0, 0)
- translate_
vec - Translate vector of points in positive x,y to either side of (0,0)