大约有 6,677 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0134 秒)
Laya_社区(6030) Laya2.0_文档(147) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya2.0_示例(57) Laya3.0_文档(47)
...来,, 主域代码 Laya.timer.once(2000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个参数可以根据自己的需求适当...
来源: Laya_社区 发布时间: 20181123
sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 试了一下好像不行,无论是Laya.Tween.to(lamp.transform, {localScale:Vector3.zero}, 500); 还是Laya.Tween.to(lamp.transform.localScale, {x:1, y:1, z:1}, 500);都没有反应,是不是我调用的方式不对呢...
来源: Laya_社区 发布时间: 20170630
...列,animationKey会被设为true 即animationKey为true,就使用TileAniSprite来做显示,把动画序列根据时间画到TileAniSprite上 Public Properties PropertyDefined By animationTotalTime : Number = 0 动画播放的总时间 TileTexSet durationTimeArray : Array = null 当前动...
来源: laya_api 发布时间: 20170929
...目标物体添加上描边 */ public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{ if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); ...
来源: Laya_社区 发布时间: 20210203
...url: "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 }, { url: "../../res/threeDimen/scene/TerrainScene/Assets/HeightMap.png", clas: Laya.Texture2D, priority: 1, params: [true] }, { url: "../../res/threeDimen/scene/TerrainScene/Assets/AStarMap.png", clas: ...
来源: Laya_示例 发布时间: 20241002
...tionAll Packages | All Classes | Index | Frames No Frames SkinnedMeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class SkinnedMeshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSprite3D 类用...
来源: Laya2.0_api 发布时间: 20190513
...; rankTexture.bitmap.alwaysChange = true;//小程序使用,非常费 let sprite = new Laya.Sprite(); sprite.graphics.drawTexture(rankTexture, 0, 0, rankTexture.width, rankTexture.height); this._content.addChild(sprite); sprite.pos(40, 190);报:this.bitmap activeResource is not a function 2019-09...
来源: Laya_社区 发布时间: 20190920
...这里更新的。其中super.render(context, x, y); 属于stage的父类Sprite类的方法,渲染具体实现的地方。与其他引擎不同的是,Laya的帧率只有两种,高帧率模式固定60帧,低帧率模式 为双帧处理渲染异常渲染,固定30帧。 Sprite Stage的父类...
来源: Laya_社区 发布时间: 20200925
Unity3d导出的粒子特效导入到laya中,用示例的做法,Laya.Sprite3d.load的方式加载,然后挂载到一个MeshSprite3d上,第一次显示的时候画面会卡一下,请问是什么问题? 2017-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170313
...ly _filter: any[] = [new Laya.GlowFilter("#000000", 5, 1, 1)]; 新建一个sprite sprite.filters = _filter; 这样子运行会报错:fil.action.apply3d(scope,sprite,context,0,0); 但是sprite.filters = [new Laya.GlowFilter("#000000", 5, 1, 1)];是正常的,为什么前者会报错呢? (as版本...
来源: Laya_社区 发布时间: 20180610