UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

52 lines 1.07 kB
export class ParticleAttributeSpecification { /** * * @param {string} name * @param {ParticleDataTypes} type * @returns {ParticleAttributeSpecification} */ static from(name: string, type: { Void: any; Float: any; Vector2: any; Vector3: any; Vector4: any; Matrix4: any; /** * * @return {number} */ Boolean: any; Texture2D: any; Color: any; }): ParticleAttributeSpecification; /** * @type {ParticleDataTypes} */ type: { Void: any; Float: any; Vector2: any; Vector3: any; Vector4: any; Matrix4: any; /** * * @return {number} */ Boolean: any; Texture2D: any; Color: any; }; /** * Name must be unique * @type {string} */ name: string; /** * * @return {number} */ computeComponentCount(): number; } //# sourceMappingURL=ParticleAttributeSpecification.d.ts.map