Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Oct 20, 2024
1 parent 56a7bda commit 82d21b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/r3f/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ Wrapper for the three.js `TilesRenderer` class. Listening for events are specifi
<TilesRenderer
url={ tilesetUrl }

// pass properties to apply to the tile set root object
group={ {
position: [ 0, 10, 0 ],
rotation: [ Math.PI / 2, 0, 0 ],
} }

// set options to the TilesRenderer object
errorTarget={ 6 }
errorThreshold={ 10 }
Expand Down

0 comments on commit 82d21b2

Please sign in to comment.