[{"data":1,"prerenderedAt":1275},["ShallowReactive",2],{"navigation":3,"/api/shapes/line2":466,"/api/shapes/line2-surround":1270},[4,22],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","/getting-started","1.getting-started/1.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","/getting-started/installation","1.getting-started/2.installation",{"title":15,"path":16,"stem":17},"Usage","/getting-started/usage","1.getting-started/3.usage",{"title":19,"path":20,"stem":21},"Upgrade Guide","/getting-started/upgrade-guide","1.getting-started/4.upgrade-guide",{"title":23,"path":24,"stem":25,"children":26},"Api","/api","2.api",[27,30,80,110,152,186,280,306,340,390,432],{"title":28,"path":24,"stem":29},"All","2.api/index",{"title":31,"path":32,"stem":33,"children":34},"Abstractions","/api/abstractions","2.api/1.abstractions/index",[35,36,40,44,48,52,56,60,64,68,72,76],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39},"Align","/api/abstractions/align","2.api/1.abstractions/align",{"title":41,"path":42,"stem":43},"Billboard","/api/abstractions/billboard","2.api/1.abstractions/billboard",{"title":45,"path":46,"stem":47},"Camera Shake","/api/abstractions/camera-shake","2.api/1.abstractions/camera-shake",{"title":49,"path":50,"stem":51},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":53,"path":54,"stem":55},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":57,"path":58,"stem":59},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":61,"path":62,"stem":63},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":65,"path":66,"stem":67},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":69,"path":70,"stem":71},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":73,"path":74,"stem":75},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":77,"path":78,"stem":79},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":81,"path":82,"stem":83,"children":84},"Controls","/api/controls","2.api/2.controls/index",[85,86,90,94,98,102,106],{"title":81,"path":82,"stem":83},{"title":87,"path":88,"stem":89},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":91,"path":92,"stem":93},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":95,"path":96,"stem":97},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":99,"path":100,"stem":101},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":103,"path":104,"stem":105},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":107,"path":108,"stem":109},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":111,"path":112,"stem":113,"children":114},"Loaders","/api/loaders","2.api/3.loaders/index",[115,116,120,124,128,132,136,140,144,148],{"title":111,"path":112,"stem":113},{"title":117,"path":118,"stem":119},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":121,"path":122,"stem":123},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":125,"path":126,"stem":127},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":129,"path":130,"stem":131},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":133,"path":134,"stem":135},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":137,"path":138,"stem":139},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":141,"path":142,"stem":143},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":145,"path":146,"stem":147},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":149,"path":150,"stem":151},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":153,"path":154,"stem":155,"children":156},"Materials","/api/materials","2.api/4.materials/index",[157,158,162,166,170,174,178,182],{"title":153,"path":154,"stem":155},{"title":159,"path":160,"stem":161},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":163,"path":164,"stem":165},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":167,"path":168,"stem":169},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":171,"path":172,"stem":173},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":175,"path":176,"stem":177},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":179,"path":180,"stem":181},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":183,"path":184,"stem":185},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":187,"path":188,"stem":189,"children":190},"Shapes","/api/shapes","2.api/5.shapes/index",[191,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":187,"path":188,"stem":189},{"title":193,"path":194,"stem":195},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":197,"path":198,"stem":199},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":201,"path":202,"stem":203},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":205,"path":206,"stem":207},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":209,"path":210,"stem":211},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":213,"path":214,"stem":215},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":217,"path":218,"stem":219},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":221,"path":222,"stem":223},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":225,"path":226,"stem":227},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":229,"path":230,"stem":231},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":233,"path":234,"stem":235},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":237,"path":238,"stem":239},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":241,"path":242,"stem":243},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":245,"path":246,"stem":247},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":249,"path":250,"stem":251},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":253,"path":254,"stem":255},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":257,"path":258,"stem":259},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":261,"path":262,"stem":263},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":265,"path":266,"stem":267},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":269,"path":270,"stem":271},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":273,"path":274,"stem":275},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":277,"path":278,"stem":279},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":281,"path":282,"stem":283,"children":284},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[285,286,290,294,298,302],{"title":281,"path":282,"stem":283},{"title":287,"path":288,"stem":289},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":291,"path":292,"stem":293},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":295,"path":296,"stem":297},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":299,"path":300,"stem":301},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":303,"path":304,"stem":305},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":307,"path":308,"stem":309,"children":310},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[311,312,316,320,324,328,332,336],{"title":307,"path":308,"stem":309},{"title":313,"path":314,"stem":315},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":317,"path":318,"stem":319},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":321,"path":322,"stem":323},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":325,"path":326,"stem":327},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":329,"path":330,"stem":331},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":333,"path":334,"stem":335},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":337,"path":338,"stem":339},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":341,"path":342,"stem":343,"children":344},"Staging","/api/staging","2.api/8.staging/index",[345,346,350,354,358,362,366,370,374,378,382,386],{"title":341,"path":342,"stem":343},{"title":347,"path":348,"stem":349},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":351,"path":352,"stem":353},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":355,"path":356,"stem":357},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":359,"path":360,"stem":361},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":363,"path":364,"stem":365},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":367,"path":368,"stem":369},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":371,"path":372,"stem":373},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":375,"path":376,"stem":377},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":379,"path":380,"stem":381},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":383,"path":384,"stem":385},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":387,"path":388,"stem":389},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":391,"path":392,"stem":393,"children":394},"Objects","/api/objects","2.api/9.objects/index",[395,396,400,404,408,412,416,420,424,428],{"title":391,"path":392,"stem":393},{"title":397,"path":398,"stem":399},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":401,"path":402,"stem":403},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":405,"path":406,"stem":407},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":409,"path":410,"stem":411},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":413,"path":414,"stem":415},"HTML","/api/objects/html","2.api/9.objects/html",{"title":417,"path":418,"stem":419},"Image","/api/objects/image","2.api/9.objects/image",{"title":421,"path":422,"stem":423},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":425,"path":426,"stem":427},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":429,"path":430,"stem":431},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":433,"path":434,"stem":435,"children":436},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[437,438,442,446,450,454,458,462],{"title":433,"path":434,"stem":435},{"title":439,"path":440,"stem":441},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":443,"path":444,"stem":445},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":447,"path":448,"stem":449},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":451,"path":452,"stem":453},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":455,"path":456,"stem":457},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":459,"path":460,"stem":461},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":463,"path":464,"stem":465},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":467,"title":229,"body":468,"description":1264,"extension":1265,"links":1266,"meta":1267,"navigation":621,"path":230,"seo":1268,"stem":231,"__hash__":1269},"docs/2.api/5.shapes/line2.md",{"type":469,"value":470,"toc":1258},"minimark",[471,477,500,504,832,836,1024,1028,1031,1036,1043,1109,1115,1251,1254],[472,473,474],"scene-wrapper",{},[475,476],"shapes-line2",{},[478,479,480,481,485,486,489,490,499],"p",{},"The ",[482,483,484],"code",{},"cientos"," package provides a ",[482,487,488],{},"\u003CLine2 />"," component for creating 3-D lines. It wraps ",[491,492,496,497],"a",{"href":493,"rel":494},"https://github.com/mrdoob/three.js/blob/e2bcdfff6427c2f106cb819b18d88d1e13aa508a/examples/jsm/lines/Line2.js",[495],"nofollow","Three.js's ",[482,498,229],{},".",[501,502,15],"h2",{"id":503},"usage",[505,506,518],"pre",{"className":507,"code":508,"highlights":509,"language":516,"meta":517,"style":517},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs/core'\nimport { Line2 } from '@tresjs/cientos'\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :position=\"[3, 3, 3]\" />\n    \u003CLine2\n      :points=\"[[0, 0, 0], [1, 1, 0], [1, 1, 1], [0, 0, 1]]\"\n      color=\"orange\"\n      :line-width=\"3\"\n    />\n    \u003CTresAmbientLight />\n  \u003C/TresCanvas>\n\u003C/template>\n",[510,511,512,513,514,515],3,8,9,10,11,12,"vue","",[482,519,520,555,584,606,616,623,633,644,687,695,766,781,797,803,813,823],{"__ignoreMap":517},[521,522,525,529,533,537,540,543,546,550,552],"span",{"class":523,"line":524},"line",1,[521,526,528],{"class":527},"sMK4o","\u003C",[521,530,532],{"class":531},"swJcz","script",[521,534,536],{"class":535},"spNyl"," setup",[521,538,539],{"class":535}," lang",[521,541,542],{"class":527},"=",[521,544,545],{"class":527},"\"",[521,547,549],{"class":548},"sfazB","ts",[521,551,545],{"class":527},[521,553,554],{"class":527},">\n",[521,556,558,562,565,569,572,575,578,581],{"class":523,"line":557},2,[521,559,561],{"class":560},"s7zQu","import",[521,563,564],{"class":527}," {",[521,566,568],{"class":567},"sTEyZ"," TresCanvas",[521,570,571],{"class":527}," }",[521,573,574],{"class":560}," from",[521,576,577],{"class":527}," '",[521,579,580],{"class":548},"@tresjs/core",[521,582,583],{"class":527},"'\n",[521,585,588,590,592,595,597,599,601,604],{"class":586,"line":510},[523,587],"highlight",[521,589,561],{"class":560},[521,591,564],{"class":527},[521,593,594],{"class":567}," Line2",[521,596,571],{"class":527},[521,598,574],{"class":560},[521,600,577],{"class":527},[521,602,603],{"class":548},"@tresjs/cientos",[521,605,583],{"class":527},[521,607,609,612,614],{"class":523,"line":608},4,[521,610,611],{"class":527},"\u003C/",[521,613,532],{"class":531},[521,615,554],{"class":527},[521,617,619],{"class":523,"line":618},5,[521,620,622],{"emptyLinePlaceholder":621},true,"\n",[521,624,626,628,631],{"class":523,"line":625},6,[521,627,528],{"class":527},[521,629,630],{"class":531},"template",[521,632,554],{"class":527},[521,634,636,639,642],{"class":523,"line":635},7,[521,637,638],{"class":527},"  \u003C",[521,640,641],{"class":531},"TresCanvas",[521,643,554],{"class":527},[521,645,647,650,653,656,659,661,663,666,670,673,675,677,679,682,684],{"class":646,"line":511},[523,587],[521,648,649],{"class":527},"    \u003C",[521,651,652],{"class":531},"TresPerspectiveCamera",[521,654,655],{"class":527}," :",[521,657,658],{"class":535},"position",[521,660,542],{"class":527},[521,662,545],{"class":527},[521,664,665],{"class":527},"[",[521,667,669],{"class":668},"sbssI","3",[521,671,672],{"class":527},", ",[521,674,669],{"class":668},[521,676,672],{"class":527},[521,678,669],{"class":668},[521,680,681],{"class":527},"]",[521,683,545],{"class":527},[521,685,686],{"class":527}," />\n",[521,688,690,692],{"class":689,"line":512},[523,587],[521,691,649],{"class":527},[521,693,694],{"class":531},"Line2\n",[521,696,698,701,704,706,708,711,714,716,718,720,722,725,728,730,732,734,736,738,740,742,744,746,748,750,752,754,756,758,760,763],{"class":697,"line":513},[523,587],[521,699,700],{"class":527},"      :",[521,702,703],{"class":535},"points",[521,705,542],{"class":527},[521,707,545],{"class":527},[521,709,710],{"class":527},"[[",[521,712,713],{"class":668},"0",[521,715,672],{"class":527},[521,717,713],{"class":668},[521,719,672],{"class":527},[521,721,713],{"class":668},[521,723,724],{"class":527},"], [",[521,726,727],{"class":668},"1",[521,729,672],{"class":527},[521,731,727],{"class":668},[521,733,672],{"class":527},[521,735,713],{"class":668},[521,737,724],{"class":527},[521,739,727],{"class":668},[521,741,672],{"class":527},[521,743,727],{"class":668},[521,745,672],{"class":527},[521,747,727],{"class":668},[521,749,724],{"class":527},[521,751,713],{"class":668},[521,753,672],{"class":527},[521,755,713],{"class":668},[521,757,672],{"class":527},[521,759,727],{"class":668},[521,761,762],{"class":527},"]]",[521,764,765],{"class":527},"\"\n",[521,767,769,772,774,776,779],{"class":768,"line":514},[523,587],[521,770,771],{"class":535},"      color",[521,773,542],{"class":527},[521,775,545],{"class":527},[521,777,778],{"class":548},"orange",[521,780,765],{"class":527},[521,782,784,786,789,791,793,795],{"class":783,"line":515},[523,587],[521,785,700],{"class":527},[521,787,788],{"class":535},"line-width",[521,790,542],{"class":527},[521,792,545],{"class":527},[521,794,669],{"class":668},[521,796,765],{"class":527},[521,798,800],{"class":523,"line":799},13,[521,801,802],{"class":527},"    />\n",[521,804,806,808,811],{"class":523,"line":805},14,[521,807,649],{"class":527},[521,809,810],{"class":531},"TresAmbientLight",[521,812,686],{"class":527},[521,814,816,819,821],{"class":523,"line":815},15,[521,817,818],{"class":527},"  \u003C/",[521,820,641],{"class":531},[521,822,554],{"class":527},[521,824,826,828,830],{"class":523,"line":825},16,[521,827,611],{"class":527},[521,829,630],{"class":531},[521,831,554],{"class":527},[501,833,835],{"id":834},"props","Props",[837,838,839,858],"table",{},[840,841,842],"thead",{},[843,844,845,849,852,855],"tr",{},[846,847,848],"th",{},"Prop",[846,850,851],{},"Type",[846,853,854],{},"Description",[846,856,857],{},"Default",[859,860,861,877,893,909,924,940,954,968,982,996,1010],"tbody",{},[843,862,863,866,872,875],{},[864,865,703],"td",{},[864,867,868],{},[491,869,871],{"href":870},"#points","See below",[864,873,874],{},"Points representing the line",[864,876],{},[843,878,879,882,887,890],{},[864,880,881],{},"vertexColors",[864,883,884],{},[482,885,886],{},"TresColor[]",[864,888,889],{},"Vertex colors, if using",[864,891,892],{},"null",[843,894,895,898,903,906],{},[864,896,897],{},"color",[864,899,900],{},[482,901,902],{},"TresColor",[864,904,905],{},"Color for the line – multiplies vertex colors",[864,907,908],{},"'white'",[843,910,911,914,919,922],{},[864,912,913],{},"lineWidth",[864,915,916],{},[482,917,918],{},"number",[864,920,921],{},"Width of the line – in world units with size attenuation, pixels otherwise",[864,923,727],{},[843,925,926,929,934,937],{},[864,927,928],{},"worldUnits",[864,930,931],{},[482,932,933],{},"boolean",[864,935,936],{},"Whether the line width is in world units or pixels",[864,938,939],{},"false",[843,941,942,945,949,952],{},[864,943,944],{},"alphaToCoverage",[864,946,947],{},[482,948,933],{},[864,950,951],{},"Enables alpha to coverage. Can only be used with MSAA-enabled contexts (meaning when the renderer was created with antialias parameter set to true).",[864,953,939],{},[843,955,956,959,963,966],{},[864,957,958],{},"dashed",[864,960,961],{},[482,962,933],{},[864,964,965],{},"Whether the line is dashed",[864,967,939],{},[843,969,970,973,977,980],{},[864,971,972],{},"dashSize",[864,974,975],{},[482,976,918],{},[864,978,979],{},"Dash size",[864,981,727],{},[843,983,984,987,991,994],{},[864,985,986],{},"gapSize",[864,988,989],{},[482,990,918],{},[864,992,993],{},"Gap size in dashed line",[864,995,727],{},[843,997,998,1001,1005,1008],{},[864,999,1000],{},"dashScale",[864,1002,1003],{},[482,1004,918],{},[864,1006,1007],{},"Scale of the dashes/gaps",[864,1009,727],{},[843,1011,1012,1015,1019,1022],{},[864,1013,1014],{},"dashOffset",[864,1016,1017],{},[482,1018,918],{},[864,1020,1021],{},"Dash offset",[864,1023,713],{},[1025,1026,1027],"h3",{"id":703},"Points",[478,1029,1030],{},"The points prop has the following type:",[478,1032,1033],{},[482,1034,1035],{},"Array\u003CVector3 | Vector2 | [number, number, number] | [number, number] | number>",[478,1037,1038,1039,1042],{},"The passed array is converted to ",[482,1040,1041],{},"Array\u003Cnumber>"," – i.e., a series of x, y, z vertex coordinates. This is done array entry by array entry, as follows:",[837,1044,1045,1055],{},[840,1046,1047],{},[843,1048,1049,1052],{},[846,1050,1051],{},"Entry type",[846,1053,1054],{},"Interpretation",[859,1056,1057,1067,1080,1090,1100],{},[843,1058,1059,1064],{},[864,1060,1061],{},[482,1062,1063],{},"Vector3",[864,1065,1066],{},"Insert the vector's x, y, z into the result array",[843,1068,1069,1077],{},[864,1070,1071],{},[1072,1073,1074],"nobr",{},[482,1075,1076],{},"[number, number, number]",[864,1078,1079],{},"Insert the array values into the result array",[843,1081,1082,1087],{},[864,1083,1084],{},[482,1085,1086],{},"Vector2",[864,1088,1089],{},"Insert the vector's x, y, then 0 into the result array",[843,1091,1092,1097],{},[864,1093,1094],{},[482,1095,1096],{},"[number, number]",[864,1098,1099],{},"Insert the array values, then 0 into the result array",[843,1101,1102,1106],{},[864,1103,1104],{},[482,1105,918],{},[864,1107,1108],{},"Insert the number into the result array",[1110,1111,1112],"prose-warning",{},[478,1113,1114],{},"If you pass bare numbers in the points array, ensure that you pass triplets – groups of three numbers. Otherwise, you'll corrupt the coordinates that follow.",[505,1116,1118],{"className":507,"code":1117,"language":516,"meta":517,"style":517},"\u003C!-- Wrong -->\n\u003CLine2 :points=\"[[1,1], 2, 2, [3,3]]\" />\n\u003C!-- result: (1,1,0) (2,2,3) (3,0,❌) -->\n\n\u003C!-- Right -->\n\u003CLine2 :points=\"[[1, 1], 2, 2, 0, [3, 3]]\" />\n\u003C!-- result: (1,1,0) (2,2,0) (3,3,0) -->\n",[482,1119,1120,1126,1177,1182,1186,1191,1246],{"__ignoreMap":517},[521,1121,1122],{"class":523,"line":524},[521,1123,1125],{"class":1124},"sHwdD","\u003C!-- Wrong -->\n",[521,1127,1128,1130,1132,1134,1136,1138,1140,1142,1144,1147,1149,1151,1153,1156,1158,1160,1162,1165,1167,1169,1171,1173,1175],{"class":523,"line":557},[521,1129,528],{"class":527},[521,1131,229],{"class":531},[521,1133,655],{"class":527},[521,1135,703],{"class":535},[521,1137,542],{"class":527},[521,1139,545],{"class":527},[521,1141,710],{"class":567},[521,1143,727],{"class":668},[521,1145,1146],{"class":527},",",[521,1148,727],{"class":668},[521,1150,681],{"class":567},[521,1152,1146],{"class":527},[521,1154,1155],{"class":668}," 2",[521,1157,1146],{"class":527},[521,1159,1155],{"class":668},[521,1161,1146],{"class":527},[521,1163,1164],{"class":567}," [",[521,1166,669],{"class":668},[521,1168,1146],{"class":527},[521,1170,669],{"class":668},[521,1172,762],{"class":567},[521,1174,545],{"class":527},[521,1176,686],{"class":527},[521,1178,1179],{"class":523,"line":510},[521,1180,1181],{"class":1124},"\u003C!-- result: (1,1,0) (2,2,3) (3,0,❌) -->\n",[521,1183,1184],{"class":523,"line":608},[521,1185,622],{"emptyLinePlaceholder":621},[521,1187,1188],{"class":523,"line":618},[521,1189,1190],{"class":1124},"\u003C!-- Right -->\n",[521,1192,1193,1195,1197,1199,1201,1203,1205,1207,1209,1211,1214,1216,1218,1220,1222,1224,1226,1229,1231,1233,1235,1237,1240,1242,1244],{"class":523,"line":625},[521,1194,528],{"class":527},[521,1196,229],{"class":531},[521,1198,655],{"class":527},[521,1200,703],{"class":535},[521,1202,542],{"class":527},[521,1204,545],{"class":527},[521,1206,710],{"class":567},[521,1208,727],{"class":668},[521,1210,1146],{"class":527},[521,1212,1213],{"class":668}," 1",[521,1215,681],{"class":567},[521,1217,1146],{"class":527},[521,1219,1155],{"class":668},[521,1221,1146],{"class":527},[521,1223,1155],{"class":668},[521,1225,1146],{"class":527},[521,1227,1228],{"class":668}," 0",[521,1230,1146],{"class":527},[521,1232,1164],{"class":567},[521,1234,669],{"class":668},[521,1236,1146],{"class":527},[521,1238,1239],{"class":668}," 3",[521,1241,762],{"class":567},[521,1243,545],{"class":527},[521,1245,686],{"class":527},[521,1247,1248],{"class":523,"line":635},[521,1249,1250],{"class":1124},"\u003C!-- result: (1,1,0) (2,2,0) (3,3,0) -->\n",[478,1252,1253],{},"The component, like Three.js, will not keep you from shooting yourself in the foot.",[1255,1256,1257],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":517,"searchDepth":524,"depth":557,"links":1259},[1260,1261],{"id":503,"depth":557,"text":15},{"id":834,"depth":557,"text":835,"children":1262},[1263],{"id":703,"depth":510,"text":1027},"Component for creating 3D lines using Three.js's Line2.","md",null,{},{"title":229,"description":1264},"YTuT8KgQYLHeyqqWlrzJw6EHsHroohvx3OSFmnm7qB8",[1271,1273],{"title":225,"path":226,"stem":227,"description":1272,"children":-1},"Short-cut for a IcosahedronGeometry and a MeshBasicMaterial with a Mesh object.",{"title":233,"path":234,"stem":235,"description":1274,"children":-1},"Short-cut for a OctahedronGeometry and a MeshBasicMaterial with a Mesh object.",1774953656290]