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

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

671. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 64%]

...dFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { var colaStarArr = aStarArr[w] = []; for (var h = 0; h < textureHeight; h++) { var...

来源: Laya3.0_文档 发布时间: 20230303

672. laya.ui.HSlider_API3.0 [ 64%]

...rior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayed...

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

673. laya.ui.VSlider_API3.0 [ 64%]

...rior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayed...

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

674. android studio打包的apk屏幕自适应问题 [ 64%]

...应问题 我在代码中调用 Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; 发布的h5项目没有问题,但是打包的app项目屏幕没有做到适配 2019-02-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

675. 关于新手引导 [ 64%]

...alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); guideContainer.addChild(maskArea); //绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); //设置叠加模式 interactionArea.blendMode = "dest...

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

676. laya.ui.RadioGroup_API3.0 [ 64%]

...itTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedI...

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

677. laya.ui.ComboBox_API3.0 [ 64%]

...e hitTestPrior itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displaye...

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

678. Uncaught TypeError: Cannot read property 'XXX' of undefined [ 64%]

...pe.y = 100;             spe.width = 512;             spe.height = 512;             spe.size(512, 512);             Laya.stage.addChild(spe);             spe.graphics.drawRect(0, 0, 515, 515, "#996633", "#333333");             spe.on(Event.MOUSE_D...

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

679. 物理Bodies绑定Laya.Sprite [ 64%]

...png"); gun_skin.scale(50, 50); gun_skin.pivot(gun_skin.width / 2, gun_skin.height / 2); gun = Bodies.rectangle(150, 150, 50, 50, { frictionAir: 0.5, //空气摩擦力 density: 0.68, // 密度 layaSprite: gun_skin, // 绑定一个laya的Sprite, 不能用render.sprite render: { visible: true, // 开...

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

680. List中放TextInput,当list滚动的时候,复用会有问题,input中的内容会乱,尤其有输入框focus的情况下 [ 64%]

...t.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stag...

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