Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated description for affectSpecularity #5967

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/framework/components/light/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ const _lightPropsDefault = [];
* - {@link LIGHTSHAPE_SPHERE}: Sphere shape.
*
* Defaults to pc.LIGHTSHAPE_PUNCTUAL.
* @property {boolean} affectSpecularity If enabled and the light type is pc.LIGHTTYPE_DIRECTIONAL, material specularity
* will not be affected by this light. Defaults to true.
* @property {boolean} affectSpecularity If enabled, material specularity will be affected by this light.
* Ignored for lights other than {@link LIGHTTYPE_DIRECTIONAL}. Defaults to true.
* @property {boolean} castShadows If enabled the light will cast shadows. Defaults to false.
* @property {number} shadowDistance The distance from the viewpoint beyond which shadows are no
* longer rendered. Affects directional lights only. Defaults to 40.
Expand Down