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

大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)

651. laya.d3.resource.TextureCube [ 71%]

...:void 通过六张图片源填充纹理。 TextureCube  setSixSidePixels(width:int, height:int, pixels:Array):void 通过六张图片源填充纹理。 TextureCubeProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _disposeResource():void[override...

来源: Laya2.0_api 发布时间: 20190513

652. 设置半透遮罩层后,无法屏蔽穿透点击事件 [ 71%]

...prite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.mouseThrough = false; Laya.stage.addChild(maskArea); 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

653. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 71%]

...每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); 报错bitmap._addReference is not a function TypeError: bitmap._addReference is not a function 这是报错地方的代码 /** *<code>Texture</code> 是一个纹理处理类。 */ //...

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

654. laya.display.Sprite [ 71%]

...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite  mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite  mou...

来源: laya_api 发布时间: 20170929

655. 文本内容太长显示不全 [ 71%]

....core.js中的CharRender_Canvas这个类里面的 CharRender_Canvas.canvas.width属性,把width改成4096看看

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

656. 请问Laya如果获取Laya.Event.CLICK时间的点击坐标? [ 71%]

...ickRect = new Laya.Sprite(); clickRect.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height-100 ); clickRect.pos( 0, 0 ); clickRect.size( Laya.stage.width, Laya.stage.height-100 ); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, changeVxVy ); } function changeVxVy( e...

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

657. laya.display.Stage_API3.0 [ 71%]

... _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALIGN_MIDDLE ALIGN_RIGHT ALIGN_TOP FRAME_FAST FRAME_MOUSE FRAME_SLEEP FRAME_SLOW SC...

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

658. laya.ui.Tree [ 71%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

659. parameter 2 is not of type 'WebGLTexture' [ 71%]

...pe 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(img);     如图和代...

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

660. 关于垂直剧中在屏幕中间的问题 [ 71%]

...aya.Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH;     按照我的理解 在苹果6s 微信下面锁定屏幕旋转 的话 应该整个界面垂直剧中在屏幕 现在没有~       代码在附件里面 是我写错了还是????       附件 : --> my...

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