Allow NotShadowCaster to be used with HierarchyPropagatePlugin. (#20120)
# Objective Allow NotShadowCaster to be used with HierarchyPropagatePlugin. ## Solution Implements Clone and PartialEq for NotShadowCaster.
This commit is contained in:
parent
7447b0ab97
commit
c85ab89615
@ -201,8 +201,8 @@ impl Plugin for LightPlugin {
|
||||
pub type WithLight = Or<(With<PointLight>, With<SpotLight>, With<DirectionalLight>)>;
|
||||
|
||||
/// Add this component to make a [`Mesh3d`] not cast shadows.
|
||||
#[derive(Debug, Component, Reflect, Default)]
|
||||
#[reflect(Component, Default, Debug)]
|
||||
#[derive(Debug, Component, Reflect, Default, Clone, PartialEq)]
|
||||
#[reflect(Component, Default, Debug, Clone, PartialEq)]
|
||||
pub struct NotShadowCaster;
|
||||
/// Add this component to make a [`Mesh3d`] not receive shadows.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user