Trait bevy_internal::gizmos::primitives::dim2::GizmoPrimitive2d
source · pub trait GizmoPrimitive2d<P>where
P: Primitive2d,{
type Output<'a>
where Self: 'a;
// Required method
fn primitive_2d(
&mut self,
primitive: P,
position: Vec2,
angle: f32,
color: Color
) -> Self::Output<'_>;
}
Expand description
A trait for rendering 2D geometric primitives (P
) with Gizmos
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.