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

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

1931. 版本升级出现问题。1.7.6=》1.7.13 .图集全部乱掉了 [ 48%]

...的例子可以上传一下的 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

1932. 关于射线碰撞的问题,对于射线的罗辑方式不太了解,懂得进来帮忙看一下!~~~~~~~~~~ [ 48%]

... //创建碰撞信息 rayCastHit2 =new RaycastHit();   //针循环 public function _update():void {     //刷新人物位置,_position是缓动函数实时更新的坐标     roleModel.transform.position = _position;     //设置射线原点     ray2.origin=new Vector3(roleModel.transfor...

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

1933. 程序当中更改适配模式后,没有生效成相对应的适配模式效果是为什么? [ 48%]

...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

1934. laya里的所有单例都没有初始值 [ 48%]

...内容相关的链接 提交 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

1935. laya.physics.joint.JointBase_API3.0 [ 48%]

...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

1936. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 48%]

...父窗口被聚焦),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

1937. laya.d3.renderobjs.nativeobj.NativeInstanceRenderElementOBJ_API3.0 [ 48%]

...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

1938. spine骨骼动画如何获取某个骨骼的坐标 [ 48%]

...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

1939. 播放动画(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 48%]

...运用播放动画名方式,效果如(图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

1940. laya.d3.core.MeshFilter_API3.0 [ 48%]

...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