• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 313 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)

31. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 83%]

...awCanvas 的一个bug drawCanvas(canvas: HTMLCanvas, x: number, y: number, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length+...

来源: Laya_社区 发布时间: 20210527

32. laya.ui.OpenDataContextView_API3.0 [ 83%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters...

来源: Laya3.0_api 发布时间: 20231115

33. [LayaAir 2.0] 如何用代码Spirte添加2d物理特性 [ 83%]

...= this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.createPanel(); } private createPanel():void { let panel:Laya.Sprite = new Laya.Sprite(); panel.graphics.drawRect(0,100,100,20,0xffffff);...

来源: Laya_社区 发布时间: 20190428

34. 输入设备-地图 [ 83%]

...vertor(); // Div var mapDiv; var infoText; (function() { Laya.init(Browser.width, 255); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; createDom(); initMap(); createInfoText(); var successHandler = new Handler(this, updatePosition); var errorHandler = new Handler(this, onError); // 使用高精度位...

来源: Laya_示例 发布时间: 20251130

35. laya.d3.math.Viewport_API3.0 [ 83%]

...iewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat unprojectFromWVP Constructors constructor new Viewport(x?: number, y?: number, width?: number, height?: number): Viewport Defined in laya/d3/math/Viewport.t...

来源: Laya3.0_api 发布时间: 20231115

36. laya.ui.Panel_API3.0 [ 83%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCall...

来源: Laya3.0_api 发布时间: 20231115

37. laya.html.dom.HTMLIframeElement_API3.0 [ 82%]

... activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX m...

来源: Laya3.0_api 发布时间: 20231102

38. laya.physics.PhysicsDebugDraw_API3.0 [ 82%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...

来源: Laya3.0_api 发布时间: 20231115

39. 输入设备-地图 [ 82%]

...a.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, 255); // Laya.stage.alignV = Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; // 本地运行,需要在index.html中引用百...

来源: Laya2.0_示例 发布时间: 20251130

40. laya.map.TileAniSprite_API3.0 [ 82%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...

来源: Laya3.0_api 发布时间: 20231115