playcanvas / playcanvas/engine

Make scissorRectClear public

Open
#7,368 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: graphics enhancement
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

As per title, make camera's scissorRectClear property public, so scissorRect can be used.

https://github.com/playcanvas/engine/blob/135d33fb4791ca091a5aa84d1b50e60ede7b0d4a/src/scene/camera.js#L100

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/scene/camera.js at the scissorRectClear property referenced by the issue, and inspect how scissorRect is exposed there. Done means scissorRectClear is publicly accessible on the camera and scissorRect can be used as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.