Skip to main content

entity_matrix

Function entity_matrix 

Source
fn entity_matrix(world: &GameWorld, entity: EntityId) -> Option<Mat4>
Expand description

World matrix for entity, preferring the propagated GlobalTransform so a child is picked where it is actually drawn rather than where its local transform alone would put it.