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

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

1001. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 46%]

...用的可以去 [查看API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.light.LightSprite)。 除此之外,还要需要在模型上设置投影属性。 **receiveShadow:**是否接受阴影,当模型此属性为true时,计算出的阴影会在此模...

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

1002. 使用webgl之后toDataUrl返回黑色的图像 [ 46%]

...on/4150,按照这里的说法,以及http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Sprite#drawToCanvas() 这片文档,我使用以下代码应该ok   Laya.stage.getChildAt(0).drawToCanvas(100, 100, 0, 0).getCanvas().toDataURL(); 但在WebGL的模式下,...

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

1003. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 46%]

...接口参考 [ComboBox API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ​ ComboBox 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ 设置 ComboBox 的属性 labels 的值为 “label1,lab...

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

1004. laya.ui.TextInput [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示...

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

1005. typeScript Java互调问题 [ 46%]

...   mPlugin.game_plugin_set_option("gameUrl", "http://10.0.0.114:8900/bin/index.html");         mPlugin.game_plugin_init();         View gameView = mPlugin.game_plugin_get_view();         this.setContentView(gameView);         isLoad=true;                  webView ...

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

1006. mac 下翻译出来的顺序问题 [ 46%]

...接 提交 1 个回复 Monica - 知识达人 赞同来自: 你可以打开index.html看下对用顺序是否正确,如果这里的引用顺序没有问题的话麻烦上传一个有问题的例子,我们看下! 2017-11-04 0 7 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

1007. laya.ui.TextInput [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示...

来源: laya_api 发布时间: 20170929

1008. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 46%]

...果有更好的办法,也请告诉我,先谢谢了。   1.首先在 index.html 文件中放置如下代码: <script type="text/javascript"> function convertCanvasToImage(canvas,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); ca...

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

1009. Laya+Matter导出wx小程序碰到的问题 [ 45%]

...window域,参考https://ask.layabox.com/question/14238),  需要在index.html增加matter库的引用 <script type="text/javascript" src="libs/matter.js"></script> <script type="text/javascript" src="libs/LayaRender.js"></script> 2、为了导出小程序,需要进...

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

1010. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 45%]

...ore&class=laya.utils.Tween](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Tween) `Ease`类的API中对缓动函数进行了基础的介绍,点击链接可直接查看API:[https://layaair.ldc.layabox.com/api/?category=Core&cl...

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