Fix incorrect description of ClusteredDecal (#19630)
The documentation states that ClusteredDecal projects in the +Z direction, but in practice, it projects in the -Z direction, which can be confusing. # Objective Fixes #19612
This commit is contained in:
parent
a292ac539e
commit
2b0a05cbb8
@ -69,7 +69,7 @@ pub struct ClusteredDecalPlugin;
|
|||||||
/// An object that projects a decal onto surfaces within its bounds.
|
/// An object that projects a decal onto surfaces within its bounds.
|
||||||
///
|
///
|
||||||
/// Conceptually, a clustered decal is a 1×1×1 cube centered on its origin. It
|
/// Conceptually, a clustered decal is a 1×1×1 cube centered on its origin. It
|
||||||
/// projects the given [`Self::image`] onto surfaces in the +Z direction (thus
|
/// projects the given [`Self::image`] onto surfaces in the -Z direction (thus
|
||||||
/// you may find [`Transform::looking_at`] useful).
|
/// you may find [`Transform::looking_at`] useful).
|
||||||
///
|
///
|
||||||
/// Clustered decals are the highest-quality types of decals that Bevy supports,
|
/// Clustered decals are the highest-quality types of decals that Bevy supports,
|
||||||
|
Loading…
Reference in New Issue
Block a user