@awayjs/scene
Version:
AwayJS scene classes
22 lines • 585 B
TypeScript
import { EventBase } from '@awayjs/core';
/**
* @class away.events.CameraEvent
*/
export declare class KeyboardEvent extends EventBase {
static KEYDOWN: string;
static KEYUP: string;
private _charCode;
private _char;
isShift: boolean;
isCTRL: boolean;
isAlt: boolean;
constructor(type: string, char: string, charCode?: number);
get char(): string;
get charCode(): number;
/**
* Clones the event.
* @return An exact duplicate of the current object.
*/
clone(): KeyboardEvent;
}
//# sourceMappingURL=KeyboardEvent.d.ts.map