大约有 373 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
...r3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,function(){ //obj.transform.rotate(vect,false,false); //}); })); })); })(this); class BoxControlScript extends Laya.Script3D { c...
来源: Laya_社区 发布时间: 20200611
...erminant():Number 计算3x3矩阵的行列式 Matrix3x3 identity():void 设置已有的矩阵为单位矩阵Matrix3x3 invert(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3...
来源: laya_api 发布时间: 20170929
...erminant():Number 计算3x3矩阵的行列式 Matrix3x3 identity():void 设置已有的矩阵为单位矩阵Matrix3x3 invert(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By allowRotation : Boolean是否允许...
来源: Laya2.0_api 发布时间: 20190513
...628,613); Laya.Tween.to(ape,{rotation:360},60000); 其中转一圈的时间设置为60s或者更长,native下卡顿是非常明显的,但在web下非常流畅(native下反而效率低?)。游戏帧数为60帧。 这应该是native下的bug,希望官方能看下。 2018-04-23 添加评论 免费...
来源: Laya_社区 发布时间: 20180423
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170422