pub trait GizmoPrimitive3d<P: Primitive3d> {
type Output<'a>
where Self: 'a;
// Required method
fn primitive_3d(
&mut self,
primitive: &P,
isometry: impl Into<Isometry3d>,
color: impl Into<Color>,
) -> Self::Output<'_>;
}
Expand description
A trait for rendering 3D geometric primitives (P
) with Gizmos
.
Required Associated Types§
Required Methods§
sourcefn primitive_3d(
&mut self,
primitive: &P,
isometry: impl Into<Isometry3d>,
color: impl Into<Color>,
) -> Self::Output<'_>
fn primitive_3d( &mut self, primitive: &P, isometry: impl Into<Isometry3d>, color: impl Into<Color>, ) -> Self::Output<'_>
Renders a 3D primitive with its associated details.
Object Safety§
This trait is not object safe.