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

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

1521. laya.d3.core.render.PostProcessRenderContext_API3.0 [ 60%]

...rget source createRTByContextReleaseTexture Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

1522. LayaAir下TTF字体的使用方式? [ 60%]

...port laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="哈哈哈哈哈哈哈哈哈哈哈...

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

1523. laya.d3.core.TransLargeUBOUtils_API3.0 [ 60%]

...recover reset updateBindRange updateSubData Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

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

1524. laya.d3.renderobjs.nativeobj.NativeRenderGeometryElementOBJ_API3.0 [ 60%]

...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

1525. 屏幕方向:自动横屏与自动竖屏的设置详解(ActionScript-LayaAir基础篇(AS3)-屏幕适配) [ 60%]

...t laya.ui.Label; import laya.webgl.WebGL; public class screenMode { public function screenMode() { Laya.init(0, 0, WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#232628"; //自动横屏,游戏的水平方向始终与浏览器屏幕较短边保持垂直 Laya.stage.screenMode = "horiz...

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

1526. laya.display.css.TextStyle_API3.0 [ 60%]

...strokeColor underline underlineColor valign Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Enumeration Interface

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

1527. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 60%]

...hader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECTIONLIGHT","BONE"], "pass...

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

1528. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 60%]

...axUI.ts有前缀导致报错 导微信小程序报错window.focus is not a function 本地调试加载本地图片都报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 启动引擎报错 mPlugin.game_plugin_init(3); 真机调试报错:LayaPlayer不支持的标签<...

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

1529. 原生语言与JS通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...(ret); conch.postAsyncMessage("asyncMessage", "asyncMessage from js").then(function (data) { alert(data); }) 1.2 在原生端中主动执行JS端脚本 iOS/OC执行JS脚本: [[conchRuntime GetIOSConchRuntime] runJS:@"alert('hello')"]; Android/Java执行JS脚本: ConchJNI.RunJS("alert('hello worl...

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

1530. 请问laya里如何解析json,似乎和AS3的不太一样。 [ 60%]

...接 提交 2 个回复 cuixueying 赞同来自: SONIC3D 、sevennqi public function BBB() { Laya.init(550,400); Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { var json:JSON=Laya.loader.getRes("res/atlas/comp.json"); }JSON...

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