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

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

1691. LayaNative端使用.ttf字体 [ 66%]

...ler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.w...

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

1692. laya.ui.ViewStack_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

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

1693. Laya2.5编译后有问题Laya前面多出一个Laya [ 66%]

...Laya2.5编译后有问题Laya前面多出一个Laya 如图正常写法Laya.stage   但是laya2.5 TS实验版编译后是Laya.Laya.stage。 这样导致Laya["MiniAdpter"]就成了  Laya.Laya["MiniAdpter"]就会报错 附件 : --> Test2.5TsNew_.zip 2020-01-14 添加评论 免费帖 --> 分享 微...

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

1694. release发版错误大概知道什么原因吗? [ 66%]

...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true u3d下spine动画工具导入报错:转换失败---chitianshishoux--加载错误,xxx/xxx/chitianshishoux.atlas 使用CreateHeightMap脚本生成高度图的时候,...

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

1695. 自己写了个label继承官方的label,出现了问题,求指导~ [ 66%]

...DemoLabel { public function DemoLabel() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; //---------------------------------这是用我自己写的label继承了官方的label,问题是label显示不出来,但是也无报错-------------------------------------------- var label:Lab...

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

1696. laya.ui.VBox_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1697. laya.ui.HBox_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

1698. 官方3D空间转2D空间的demo问题:当3D模型走出视野外后,也投影到屏幕了 [ 66%]

..., camera.projectionViewMatrix, _outPos); layaMonkey2D.pos(_outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); } 2017-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来...

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

1699. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 66%]

...动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img: Laya.Image = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } } new PanelTest(...

来源: Laya2.0_文档 发布时间: 20210715

1700. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 66%]

...       imag=new Image("ui/comp/image.png");             Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{      ...

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