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

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

1071. JSONP跨域读取数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 50%]

... ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客户端LayaSample.onComplete()并且执行这个...

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

1072. TS setExternalLinkEx問題 [ 50%]

...Touch(false); var ctx = document.createElement('canvas').getContext('2d'); function render(){ ctx.fillStyle='#99d9ea'; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(render); } window.requestAnimationFrame(render); document.addEventListener('touchstart',()=>{...

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

1073. 评论功能没用的吗? [ 50%]

...e3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) {       sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微博 QZONE 微信 cuixueying 赞...

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

1074. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 50%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited method Inherited accessor Static property Static method Enumeration Interface

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

1075. laya.d3.component.staticmesh.StaticBatchMeshRender_API3.0 [ 50%]

...Class with type parameter Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method

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

1076. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

.../check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya...

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

1077. 在移动端safari浏览器上运行加载资源时崩溃 [ 50%]

...缩后,ui.min.js报错,Uncaught TypeError: this.preinitialize is not a function,官方一直没回复。 2017-08-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 liblayaair.so 总是崩溃,有没有官方人...

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

1078. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 49%]

... with type parameter Constructor Property Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

1079. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 49%]

...建出符合自己需要的文件夹。 **示例代码:** ```javascript (function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24"...

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

1080. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 49%]

... laya.display.Text; /** * ... * @author */ public class HelloWorld{ public function HelloWorld(){ //创建舞台 Laya.init(600, 300);//舞台默认背景色是黑色的 var txt:Text = new Text(); txt.text = "Hello, World!"; //设置文本颜色 txt.color = '#FF0000'; //设置文本字体大小,单...

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