mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
Extend docs with more details about animation
This commit is contained in:
parent
6779961982
commit
a30e167e97
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,12 @@
|
|||
//! A module for the [`AnimatedGizmos`] [`SystemParam`].
|
||||
//!
|
||||
//! These are gizmos which render non-static line segments. Instead the segments are moving along
|
||||
//! the line in a primitive based direction. The rules for the direction of the animation are
|
||||
//! listed below
|
||||
//!
|
||||
//! - lines: from `start` to `end`
|
||||
// when implemented:
|
||||
// - primitices: counter clockwise when the primitive's normal is pointing towards the camera
|
||||
|
||||
use std::ops::{Deref, DerefMut};
|
||||
|
||||
|
@ -9,7 +17,10 @@ use bevy_time::Time;
|
|||
|
||||
use crate::prelude::{DefaultGizmoConfigGroup, GizmoConfigGroup, Gizmos};
|
||||
|
||||
/// A [`SystemParam`] for drawing animated gizmos.
|
||||
/// A [`SystemParam`] for drawing animated gizmos, whose segments cycle along the line in a
|
||||
/// primitive based direction. The rules for the direction of the animation are listed below
|
||||
///
|
||||
/// - lines: from `start` to `end`
|
||||
///
|
||||
/// This is essentially a utility wrapper for [`Gizmos`]. For additional information about the
|
||||
/// [`Gizmos`] themselves, please refer to the linked documentation.
|
||||
|
|
Loading…
Reference in a new issue