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