@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.41 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.19/LICENSE.txt */
import{__decorate as e}from"tslib";import{deg2rad as s}from"../../../../../core/mathUtils.js";import{subclass as t}from"../../../../../core/accessorSupport/decorators.js";import{fromValues as r,create as i}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{create as o}from"../../../../../geometry/support/lineSegment.js";import{ReloadableShader as l}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as n}from"../../core/shaderTechnique/ShaderTechnique.js";import{L as a}from"../../../../../chunks/Laserline.glsl.js";import{NoParameters as h}from"../../../../webgl/NoParameters.js";class c extends h{constructor(){super(...arguments),this.innerColor=r(1,1,1),this.innerWidth=1,this.glowColor=r(1,.5,0),this.glowWidth=8,this.glowFalloff=8,this.globalAlpha=.75,this.globalAlphaContrastBoost=2,this.angleCutoff=s(6),this.pointDistanceOrigin=i(),this.pointDistanceTarget=i(),this.lineVerticalPlaneSegment=o(),this.intersectsLineSegment=o(),this.intersectsLineRadius=3,this.heightManifoldTarget=i(),this.lineStartWorld=i(),this.lineEndWorld=i()}}let m=class extends n{constructor(){super(...arguments),this.shader=new l(a,()=>import("./Laserline.glsl.js"))}};m=e([t("esri.views.3d.webgl-engine.effects.laserlines.LaserlineTechnique")],m);export{c as LaserlinePassParameters,m as LaserlineTechnique};