UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

12 lines (11 loc) 503 B
import { AttribValue } from '../../types/GlobalTypes'; import { Vector4 } from 'three/src/math/Vector4'; import { Vector3 } from 'three/src/math/Vector3'; import { Vector2 } from 'three/src/math/Vector2'; export declare abstract class CoreEntity { protected _index: number; constructor(_index: number); index(): number; abstract attribValue(name: string, target?: Vector2 | Vector3 | Vector4): AttribValue | undefined; abstract stringAttribValue(name: string): string | undefined; }