UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

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