jp.keijiro.testcards

1.0.0 • Public • Published

TestCards

TestCards is a simple test pattern generator for Unity.

screenshot screenshot

screenshot screenshot

How To Install

This package uses the scoped registry feature to resolve package dependencies. Please add the following sections to the manifest file (Packages/manifest.json).

To the scopedRegistries section:

{
  "name": "Keijiro",
  "url": "https://registry.npmjs.com",
  "scopes": [ "jp.keijiro" ]
}

To the dependencies section:

"jp.keijiro.testcards": "1.0.0"

After changes, the manifest file should look like below:

{
  "scopedRegistries": [
    {
      "name": "Keijiro",
      "url": "https://registry.npmjs.com",
      "scopes": [ "jp.keijiro" ]
    }
  ],
  "dependencies": {
    "jp.keijiro.testcards": "1.0.0",
...

How To Use

The TestOverlay component works as an image effect, so it has to be added to a camera object before using. It simply overdraws the entire screen with a test pattern.

Currently four pattern modes are available for use.

  • Fill: simply fill the entire screen with a given color.
  • Spectrum: draws a grayscale bar and a color spectrum bar.
  • Checker: draws a checker pattern with a given scale.
  • Pattern: draws a TV test pattern.

Readme

Keywords

Package Sidebar

Install

npm i jp.keijiro.testcards

Weekly Downloads

3,042

Version

1.0.0

License

Unlicense

Unpacked Size

13.9 kB

Total Files

19

Last publish

Collaborators

  • keijiro