Skip to content

Conversation

RSlysz
Copy link
Contributor

@RSlysz RSlysz commented Oct 27, 2020

Purpose of this PR

Update the documentation with change from PR #2316

Small fixes:

Side small fix:

  • Fix issue (null reference in console) when selecting a DensityVolume with rectangle selection.

Testing status

Manual tested the dragger on the label work again.
Manually tested resizing the inspector window.


Comments to reviewers

Other issue found in Smoke test about the gizmo flickering. It is not localized only on the DecalProjector but also occures on the DensityVolume. In seams to be an issue related with the [DrawGizmo] attribute as if you comment every single line of logic but let the attribute, you still have the flickering ( https://docs.google.com/document/d/1Uo62Zcamck3MXQaZzflCeeQUewjO-x7GlpdDYeMVCKY/edit#heading=h.6lp97agrumda ). Cannot investigate deeper on it. But seams to be a more global issue.

| **Property** | **Description** |
| ----------------------- | ------------------------------------------------------------ |
| **Size** | The 3D size of the projector influence box, and thus the decal. The projector scales the decal to match the **X** and **Z** components of the **Size**. The Decal Projector component projects decals along the local y-axis. |
| **Size** | The 3D size of the projector influence box, and thus the decal along the projected plane. The projector scales the decal to match the **Width** (along local X-axis) and **Height** (along local Y-axis) components of the **Size**. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 3D size of the projector influence box, and thus the decal along the projected plane. The projector scales the decal to match the Width (along the local x-axis) and Height (along the local y-axis) components of the Size.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JordanL8 Just realized that thus it is not a 3D size but only 2D. I propose to just remove the "3D"

| ----------------------- | ------------------------------------------------------------ |
| **Size** | The 3D size of the projector influence box, and thus the decal. The projector scales the decal to match the **X** and **Z** components of the **Size**. The Decal Projector component projects decals along the local y-axis. |
| **Size** | The 3D size of the projector influence box, and thus the decal along the projected plane. The projector scales the decal to match the **Width** (along local X-axis) and **Height** (along local Y-axis) components of the **Size**. |
| **Projection Depth** | The depth of the projector influence box. The projector scales the decal to match **Projection Depth**. The Decal Projector component projects decals along the local Z-axis. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Z-axis -> z-axis

@sebastienlagarde
Copy link
Contributor

Merging the fix for the 10.2 release

@sebastienlagarde sebastienlagarde marked this pull request as ready for review October 29, 2020 20:27
@sebastienlagarde sebastienlagarde merged commit 5f3be78 into master Oct 29, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/update-decal-handles-fix branch October 29, 2020 20:28
sebastienlagarde added a commit that referenced this pull request Oct 29, 2020
* fix issue on dragging handle

* Update documentation

* Fix multiline issue with small sized inspector window

* Fix DecalProjector editor flickering while resizing Inspector window

* Side fix DensityVolume error on selection

* Update CHANGELOG.md

* Update Decal-Projector.md

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
sebastienlagarde added a commit that referenced this pull request Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants