import { Geometry } from '../../geometry/geometry'; import { GLShape } from '../../geometry/glShape.enum'; import { Component } from '../component'; /** * Model Component, defining the Geometry the Entity will use to define its shape * * Together with the Shader Component, makes an Entity renderable */ export declare class Model extends Component { private readonly geometry; /** * Constructor. Take the Geometry to use and provide the name 'Model' to the parent class * * @param geometry the Geometry to use */ constructor(geometry: Geometry); /** * Retrieve the Geometry's name */ get modelName(): string; /** * Retrieve the Geometry's vertices */ get vertices(): Float32Array; /** * Retrieve the Geometry's vertex size */ get vertexSize(): number; /** * Retrieve the Geometry's vertex count */ get vertexCount(): number; /** * Retrieve the Geometry's GLShape */ get glShape(): GLShape; /** * Retrieve the Geometry's texture coordinates */ get textureCoordinates(): Float32Array; }