{"id":19210462,"url":"https://github.com/ryanslikesocool/displaykit","last_synced_at":"2026-05-17T17:31:31.230Z","repository":{"id":133709805,"uuid":"418356380","full_name":"ryanslikesocool/DisplayKit","owner":"ryanslikesocool","description":"Screen extensions and transforms for Unity","archived":false,"fork":false,"pushed_at":"2023-12-28T08:50:10.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T19:21:39.474Z","etag":null,"topics":["unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanslikesocool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-18T05:24:59.000Z","updated_at":"2022-10-15T01:44:13.000Z","dependencies_parsed_at":"2023-12-28T09:48:53.109Z","dependency_job_id":null,"html_url":"https://github.com/ryanslikesocool/DisplayKit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ryanslikesocool/DisplayKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanslikesocool%2FDisplayKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanslikesocool%2FDisplayKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanslikesocool%2FDisplayKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanslikesocool%2FDisplayKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanslikesocool","download_url":"https://codeload.github.com/ryanslikesocool/DisplayKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanslikesocool%2FDisplayKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["unity"],"created_at":"2024-11-09T13:36:10.342Z","updated_at":"2026-05-17T17:31:31.211Z","avatar_url":"https://github.com/ryanslikesocool.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DisplayKit\nScreen transforms made easy for Unity.\n\n**Recommended Installation** (Unity Package Manager)\\\n- \"Add package from git URL...\"\n- `https://github.com/ryanslikesocool/DisplayKit.git`\n\n**Alternate Installation**\n- Get the latest [release](https://github.com/ryanslikesocool/DisplayKit/releases)\n- Open with the desired Unity project\n- Import into Plugins\n\n## Notice\nDisplayKit works best with an Orthographic camera.  Some features may work with a perspective camera, but it is not currently supported.\n\n## Structs\n### ScreenLength\n- `value`: the length in `valueSpace` units\n- `lengthMode`: the `LengthMode` to use for this value\n- `respectSafeArea`: should the length respect the screen safe area?\n- `valueSpace`: the `ValueSpace` to use when calculating the result for `value`\n- `axis`: the `Axis` to base the result calculation on\n\n### ScreenSize\n- `size`: the size in (`horizontalValueSpace`, `verticalValueSpace`) units\n- `respectSafeArea`: should the size respect the screen safe area?\n- `horizontalValueSpace`: the `ValueSpace` to use when calculating the result for `size.x`\n- `verticalValueSpace`: the `ValueSpace` to use when calculating the result for `size.y`\n- `uniformScaling`: the `UniformScaling` to use when calculating the result\n\n### ScreenTranslation\n- `position`: the position in (`horizontalValueSpace`, `verticalValueSpace`) units\n- `respectSafeArea`: should the position respect the screen safe area?\n- `relativeTo`: the `UnityEngine.Transform` to act as the \"center\" of the position calculation.  If none is present, \"center\" can be the center of the screen or `Vector3.zero`, depending on the value spaces used.\n- `horizontalValueSpace`: the `ValueSpace` to use when calculating the result for `position.x`\n- `verticalValueSpace`: the `ValueSpace` to use when calculating the result for `position.y`\n- `horizontalAlignment`: the `HorizontalAlignment` to use when calculating the result for `position.x`\n- `verticalAlignment`: the `VerticalAlignment` to use when calculating the result for `position.y`\n- `uniformScaling`: the `UniformScaling` to use when calculating the result\n\n## Enumerations\n### LengthMode\n- `Position`: \"positioned\" value.  The camera placement in the world affects the result\n- `Scale`: \"unpositioned\" value.  The camera placement in the world does not affect the result\n\n### ValueSpace\n- `Viewport`: \"normalized\" screen space.  Values in the range [0...1],[0...1] will appear on screen.  Lengths on different axes will behave differently, if the screen is not square\n- `Screen`: \"pixel\" space.  Values in the range [0...ScreenWidth],[0...ScreenHeight] will appear on screen\n- `World`: world space, aka \"units\"\n\n### Axis\n- `Horizontal`: the horizontal screen axis\n- `Vertical`: the vertical screen axis\n- `Min`: the smallest screen axis\n- `Max`: the largest screen axis\n\n### UniformScaling\n- `None`: no scaling is applied.  x and y values are calculated independently of eachother\n- `WidthScalesHeight`: the x axis controls the y axis' scaling\n- `HeightScalesWidth`: the y axis controls the x axis' scaling\n- `MinScalesMax`: the min axis controls the max axis' scaling\n- `MaxScalesMin`: the max axis controls the min axis' scaling\n\n### VerticalAlignment\n- `Bottom`: the bottom edge of the screen/safe area\n- `Middle`: the middle of the screen/safe area on the y axis\n- `Top`: the top edge of the screen/safe area\n\n### HorizontalAlignment\n- `Leading`: the left edge of the screen/safe area\n- `Center`: the center of the screen/safe area on the x axis\n- `Trailing`: the right edge of the screen/safe area\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanslikesocool%2Fdisplaykit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanslikesocool%2Fdisplaykit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanslikesocool%2Fdisplaykit/lists"}