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

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

2061. Tween.to 中 用Ease.circIn 做 加速运动 能设置初试速度吗 ?默认是 0 能改成别的吗?如果能?怎么改? [ 50%]

...运动的持续时间。 * @return 指定时间的插补属性的值。 */ public static function circIn(t:Number, b:Number, c:Number, d:Number):Number { return -c * (Math.sqrt(1 - (t /= d) * t) - 1) b; }   2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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

2062. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 50%]

...加filter的时候仍然无效。只有手动设置color才能生效。   public static setGray(node: Laya.Node, set: boolean) {             for (var i = 0; i < node.numChildren; i++) {                 let sprite = node.getChildAt(i) as Laya.Sprite;                 if (spri...

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

2063. 性能测试-骨骼 [ 50%]

...ath, type: Loader.BUFFER }], Handler.create(this, this.onAssetsLoaded)); } public onAssetsLoaded(): void { var tTexture: Texture = Loader.getRes(this.mTexturePath); var arraybuffer: ArrayBuffer = Loader.getRes(this.mAniPath); this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this...

来源: Laya2.0_示例 发布时间: 20260106

2064. laya.d3.component.volume.Volume_API3.0 [ 50%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/Volume" Volume Class Volume Hierarchy Component Volume ReflectionProbe VolumetricGI StaticBatchVolume Index Constructors con...

来源: Laya3.0_api 发布时间: 20231115

2065. UI场景加载,不稳定 [ 50%]

...nager中有两个方法 loadSuccess loadRunning 在LoadController中有个 public startLoad(){ if(LoadControl.isLaodSuccess){ console.log("加载成功了"); EventManager.Instance().BroadcastLisenter(GameEnum.load_success); }else{ console.log("开始加载进度了"); ResourceManager.Instance().load...

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

2066. 这个方法使用的时候动画都不显示了 [ 50%]

...   * @return     返回动画本身。          */         public function loadAtlas(url:String, loaded:Handler = null, cacheName:String = ""):Animation { 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Yangcy ...

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

2067. RenderTarget2D的create方法 [ 50%]

...请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: public static function create(w:int, h:int, surfaceFormat:int = WebGLContext.RGBA, surfaceType:int = WebGLContext.UNSIGNED_BYTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = fa...

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

2068. 鼠标交互-滑动 [ 50%]

...port laya.utils.Browser; import laya.utils.Tween; import laya.webgl.WebGL; public class Interaction_Swipe { //swipe滚动范围 private const TrackLength:int = 200; //触发swipe的拖动距离 private const TOGGLE_DIST:int = TrackLength / 2; private var buttonPosition:int; private var beginPosition...

来源: Laya2.0_示例 发布时间: 20260106

2069. 音频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...ipt { //declare owner : Laya.Sprite3D; @property({ type: Laya.SoundNode }) public sound: Laya.SoundNode; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.sound.source = "resources/sound.wav"...

来源: Laya3.0_文档 发布时间: 20251010

2070. list 数据不会及时渲染 [ 49%]

list 数据不会及时渲染    refreshCard(0,[xxxxxx]);  public function refreshCard(index:int,cardArr:Array):void{             var cardList:List = _homeSeceneView["myCard_"+index];             if(cardList){                 if(!cardList.visible){          ...

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