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

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

1031. 正交摄像机裁剪问题 [ 51%]

... this, function(){ sp1.transform.localPosition = new Laya.Vector3(-150, 1, 100); var scale = 1; var v3 = sp1.transform.localScale; v3.x = scale; v3.y = scale; v3.z = scale; sp1.transform.localScale = v3; }) 附件 : --> test_3d.zip 2017-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

1032. Laya 3.0 在场景里拖动报move nan 拖动的物体不见了,只能在属性哪里改变xyz [ 51%]

...自: 你这个deom怎么运行报错呢? [Game] Error loading res://a7daa100-5ced-4cd1-820d-82ed9838d4cf: Error: unknown runtime '7bad1742-6eed-4d8d-81c0-501dc5bf03d6',TypeError: cls is not a constructor     [Game] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_i...

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

1033. IDE创建3D示例项目(TypeScript-3D基础(TS)-快速开始一个LayaAir3D项目) [ 51%]

...相机 var camera: Laya.Camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Lay...

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

1034. 分享一个Graphics画圆角矩形的封装 [ 51%]

...后就可以使用了,如:mysprite.graphics.drawRoundrect(0, 0, 200, 100, 30, '#f00'); 2021-01-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

1035. [LayaAirIDE3]Laya3.3tween动画在update函数里修改属性值,下一帧会被重新修正 [ 51%]

...暂停动画,就clear掉。 如果1秒后,reset之后,还想继续往100走,那就里面重启1个Tween。 2025-08-15 0 0 分享 微博 QZONE 微信 china 赞同来自: 只要 Tween 还在运行,它每帧都会用自己记录的起点和目标值来计算并赋值,不会关心对象当...

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

1036. HTML文本 · LayaAir3.0文档 · LAYABOX [ 51%]

...d-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100px; 对象高度 * * 示例用法: * var div:HTMLDivElement=new HTMLDivElement(); * div.innerHTML = "<link type='text/css' href='html/test.css'/><a href='alink'>a</a><div...

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

1037. 动态阴影被切割了?为啥没有显示完成的阴影 [ 50%]

...添加照相机 var camera = (scene.addChild(new Laya.Camera()));//0, 0.3, 100 camera.transform.translate(new Laya.Vector3(3, 4, 3)); camera.transform.rotate(new Laya.Vector3(-30, 45, 0), true, false); camera.clearColor = null; camera.orthographic = false; //添加方向光 var directionLight = scen...

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

1038. laya.events.Keyboard [ 50%]

... 3 的键控代码值 (99) 关联的常数。Keyboard  NUMPAD_4 : int = 100[static] 与数字键盘上的数字 4 的键控代码值 (100) 关联的常数。Keyboard  NUMPAD_5 : int = 101[static] 与数字键盘上的数字 5 的键控代码值 (101) 关联的常数。Keyboard  NUMPAD_6 : int ...

来源: laya_api 发布时间: 20170929

1039. laya.events.Keyboard [ 50%]

... 3 的键控代码值 (99) 关联的常数。Keyboard  NUMPAD_4 : int = 100[static] 与数字键盘上的数字 4 的键控代码值 (100) 关联的常数。Keyboard  NUMPAD_5 : int = 101[static] 与数字键盘上的数字 5 的键控代码值 (101) 关联的常数。Keyboard  NUMPAD_6 : int ...

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

1040. LAYA的AS3项目碰见个问题,求解 [ 50%]

...myTexts.as继承之,为通用VIEW。 myTextsUI: <View sceneWidth="100" sceneHeight="20" sceneColor="#000000" editorInfo="compId=1">    <Text y="0" x="0" var="txts" text="text" fontSize="12" editorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI ...

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