大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...的例子可以上传一下的 peterpuppy • 2018-01-15 15:32 ``` public function update(delta:Number):Boolean { cur_time += delta; var distance_percent:Number = (cur_time / play_time) * (1 - Math.log(cur_time / play_time)); ani.x = startX + (endX - startX) * distance_percent ani.y = startY + (endY...
来源: Laya_社区 发布时间: 20180115
... //创建碰撞信息 rayCastHit2 =new RaycastHit(); //针循环 public function _update():void { //刷新人物位置,_position是缓动函数实时更新的坐标 roleModel.transform.position = _position; //设置射线原点 ray2.origin=new Vector3(roleModel.transfor...
来源: Laya_社区 发布时间: 20170828
...ist中添加多元素的item 导微信小程序报错window.focus is not a function 屏幕适配怎样实现铺满全屏,又不被拉伸? mac 用layaair2.0 ide 的编辑模式下,cpu爆满 问题状态 最新活动: 2017-09-21 12:45 浏览: 965 关注: 2 人 shimp • 2017-09-21 10:53 请帮...
来源: Laya_社区 发布时间: 20170920
...内容相关的链接 提交 7 个回复 无所畏惧 赞同来自: public function Main() { if (window["Laya3D"]) window["Laya3D"].init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); ...
来源: Laya_社区 发布时间: 20191016
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recover...
来源: Laya_社区 发布时间: 20190115
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...param nameOrIndex * @param boneName * @return 骨骼坐标列表 */ public function getBoneCoords(nameOrIndex:*, boneName:String):Array { var arrCoords:Array = ; var aniClipIndex:int = getAniClipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyframesLeng...
来源: Laya_社区 发布时间: 20190828
...运用播放动画名方式,效果如(图6)。 ```typescript public function onComplete():void{ ................. var monkey:Sprite3D = Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //加载到场景 scene.addChild(monkey); //让摄影机指向角色 camera.transform.look...
来源: Laya2.0_文档 发布时间: 20210715
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115