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

Fixed Camera Component API docs for scissorRect #4998

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/framework/components/camera/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const properties = [
* place. Defaults to 0.1.
* @property {number} orthoHeight The half-height of the orthographic view window (in the Y-axis).
* Used for {@link PROJECTION_ORTHOGRAPHIC} cameras only. Defaults to 10.
* @property {import('../../../core/math/vec4.js').Vec4}} scissorRect Clips all pixels which are
* @property {import('../../../core/math/vec4.js').Vec4} scissorRect Clips all pixels which are
* not in the rectangle. The order of the values is [x, y, width, height]. Defaults to [0, 0, 1, 1].
* @property {boolean} frustumCulling Controls the culling of mesh instances against the camera
* frustum, i.e. if objects outside of camera should be omitted from rendering. If false, all mesh
Expand Down