WEB渲染引擎Application主类体系结构
2021-08-11 10:35:24 0 举报
web实现渲染引擎主Application类构建UML图
作者其他创作
大纲/内容
<<enumeration>>EInputEventType
CanvasInputEvent
+type:EInputEventType+ altKey:boolean+ ctrlKey:boolean+ shiftKey:boolean
CanvasKeyBoardEvent
+ key:string+ keyCode:number+ repeat:boolean
CanvasMouseEvent
+ button:number+ canvasPostion:vec2+ localPostion:vec2
Canvas2DApplication
+ context2D:CanvasRenderingContext | null
Application
+ canvas:HTMLCanvasElement | null+ isSuportMouseMove:boolean
<<interface>>EventListenerObject
+ handleEvent(evt:Event):void
WebGLApplication
+ context3D:WebGLRenderingContext | null
vec2
+ x:number+ y:number
0 条评论
下一页