UNPKG

@awayjs/renderer

Version:
24 lines 725 B
import { EventBase } from '@awayjs/core'; import { IMaterial } from '../base/IMaterial'; export declare class MaterialEvent extends EventBase { static INVALIDATE_TEXTURES: string; static INVALIDATE_PASSES: string; private _material; /** * Create a new GraphicsEvent * @param type The event type. * @param dataType An optional data type of the vertex data being updated. */ constructor(type: string, material: IMaterial); /** * The material of the renderable. */ get material(): IMaterial; /** * Clones the event. * * @return An exact duplicate of the current object. */ clone(): MaterialEvent; } //# sourceMappingURL=MaterialEvent.d.ts.map