UNPKG

@tomorrowevening/hermes

Version:

An extendable set of Web Tools controlled via a separate window for non-intereference with content.

2 lines (1 loc) 573 B
"use strict";const t=require("three"),e=require("./InfiniteGridMaterial.cjs");class a extends t.Mesh{gridMaterial;constructor(i){const r=new e(i);super(new t.PlaneGeometry,r),this.gridMaterial=r,this.frustumCulled=!1,this.name="InfiniteGridHelper"}get color(){return this.gridMaterial.color}set color(i){this.gridMaterial.color=i}get gridOpacity(){return this.gridMaterial.gridOpacity}set gridOpacity(i){this.gridMaterial.gridOpacity=i}get subgridOpacity(){return this.gridMaterial.subgridOpacity}set subgridOpacity(i){this.gridMaterial.subgridOpacity=i}}module.exports=a;