import { TransformNode } from "babylonjs/Meshes/transformNode" ; import { Scene } from "babylonjs/scene" ; import { ContentDisplay3D } from "./contentDisplay3D" ; /**
 * Class used as a root to all buttons
 */ export class AbstractButton3D extends ContentDisplay3D { param name constructor ( name ? ) { super ( name ) ; } protected _getTypeName ( ) { return "AbstractButton3D" ; } protected _createNode ( scene ) { return new TransformNode ( "button" + this . name ) ; } }