大约有 2,524 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(2189) Laya2.0_文档(109) Laya3.0_api(79) Laya2.0_api(73) Laya3.0_文档(50) laya_api(18) Laya_示例(6)
...后,我们就可以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh...
来源: Laya2.0_文档 发布时间: 20210715
...事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatch...
来源: Laya2.0_api 发布时间: 20190513
...引导开发者在LayaAir里创建一个场景节点,然后通过代码加载并注册位图字体,然后使用并添加到场景节点中。 #### 操作指引: 第一步:在LayaAirIDE中创建一个场景页(导出类型为分离模式),并为该场景添加Sprite空节点,并var命...
来源: Laya2.0_文档 发布时间: 20210715
...事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatch...
来源: Laya2.0_api 发布时间: 20190513
...t:50px;color:#ff0000'>abc</div> * link:外链样式标签,可以加载一个css文件来当style使用,比如:<link type='text/css' href='html/test.css'/> * * style支持的属性如下: * italic:true|false; 是否是斜体 * bold:true|false; 是否是粗体 * letter-spacing:10px;...
来源: Laya3.0_文档 发布时间: 20230303
...事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatch...
来源: Laya2.0_api 发布时间: 20190513
...事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatch...
来源: Laya2.0_api 发布时间: 20190513
...件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatche...
来源: Laya2.0_api 发布时间: 20190513
...``typescript //初始化Shader MultiplePassOutlineMaterial.initShader(); //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey...
来源: Laya2.0_文档 发布时间: 20210715
...本变化不大,但是要注意的是 Layabox 2.0 的Scene 的打开和加载的方式,如果打开不对,就会出现问题,我就遇到了,虽然可以正常显示,位置正确,但是 滑动交互区域不对,只有 四分之一,或者上面的一半是有效交互区域,其他...
来源: Laya_社区 发布时间: 20190307