大约有 1,120 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0171 秒)
Laya_社区(896) Laya2.0_文档(164) Laya3.0_文档(17) Laya3.0_api(14) Laya2.0_示例(10) Laya_示例(7) Laya2.0_api(7) laya_api(5)
...用的可以去 [查看API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.light.LightSprite)。 除此之外,还要需要在模型上设置投影属性。 **receiveShadow:**是否接受阴影,当模型此属性为true时,计算出的阴影会在此模...
来源: Laya2.0_文档 发布时间: 20210715
...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
...接口参考 [ComboBox API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ComboBox 组件的图像资源示例:  (图1) 设置 ComboBox 的属性 labels 的值为 “label1,lab...
来源: Laya2.0_文档 发布时间: 20210715
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
... 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
...接 提交 1 个回复 Monica - 知识达人 赞同来自: 你可以打开index.html看下对用顺序是否正确,如果这里的引用顺序没有问题的话麻烦上传一个有问题的例子,我们看下! 2017-11-04 0 7 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20171104
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
...果有更好的办法,也请告诉我,先谢谢了。 1.首先在 index.html 文件中放置如下代码: <script type="text/javascript"> function convertCanvasToImage(canvas,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); ca...
来源: Laya_社区 发布时间: 20170718
...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
...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