Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vectortile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WANDER
vectortile
Commits
4f379525
Commit
4f379525
authored
2 years ago
by
Knuiman, Bart
Browse files
Options
Downloads
Patches
Plain Diff
Goto master2
parent
e5ce2b68
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+2
-26
2 additions, 26 deletions
README.md
with
2 additions
and
26 deletions
README.md
+
2
−
26
View file @
4f379525
## VectorTiles (HDRP)
Can download a vector tile from a TMS service and
can convert the tile to a raster for basing a terrain upon it.
### Dependencies (GIT Pacakages)
-
utils
### Usage:
```
var tile = VectorTile.FromUrl( url );
tile.ForEach( width=1024, height=1024, (x, y, feature) =>
{
// x and y in pixel space starting at: [0, 0]
switch( feature )
{
}
});
Texture2D texture = tile.RenderToTexture( width=1024, height=1024, layers );
```
### GOTO Master2, there wan issue with copying repos.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment