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

大约有 2,127 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)

131. laya.d3.resource.RenderTexture [ 67%]

...h:Number, height:Number):Uint8Array 获得像素数据。 RenderTexture  start():void 开始绑定。 RenderTextureProtected Methods  MethodDefined By  detoryResource():void[override] 销毁资源。 RenderTexture  recreateResource():void[override] RenderTextureProperty DetaildepthStencilBuff...

来源: laya_api 发布时间: 20170929

132. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 67%]

...etComponent(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part";...

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

133. laya.d3.math.BoundSphere_API3.0 [ 67%]

...rns void Static createFromSubPoints createFromSubPoints(points: Vector3[], start: number, count: number, out: BoundSphere): void Defined in laya/d3/math/BoundSphere.ts:53 从顶点的子队列生成包围球。 Parameters points: Vector3[] 顶点的队列。 start: number 顶点子队列的起始偏...

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

134. laya.d3.component.animation.KeyframeAnimations [ 66%]

... : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet : AnimationTemplet 获取动画模板。 KeyframeAnimations  url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties PropertyD...

来源: laya_api 发布时间: 20170929

135. 打包apk无法运行 [ 66%]

...ocalstorage E/0       ( 5275): ==============Java娴佺▼ FlashScreen start W/System.err( 5275): java.io.FileNotFoundException: flashscreen1.jpg W/System.err( 5275):    at android.content.res.AssetManager.openAsset(Native Met hod) W/System.err( 5275):    at android.content.res.AssetManager....

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

136. laya.resource.RenderTexture2D [ 66%]

...,所以如果被外面打断了的话,会出错。 RenderTexture2D  start():void 开始绑定。 RenderTexture2DProtected Methods  MethodDefined By  _disposeResource():void[override] RenderTexture2DPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDef...

来源: Laya2.0_api 发布时间: 20190513

137. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 66%]

...aths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; p...

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

138. 分享:Panel下动态修改子容器宽高并刷新显示! [ 66%]

...ll$bar.png','ui/vscroll$down.png','ui/vscroll$up.png'],Handler.create(this,start)); } private function start():void { var panel:Panel=new Panel();//添加panel,切忌要先将panel添加到舞台同时设置宽高,然后再去添加子对象 panel.width=500; panel.height=500; panel.vScrollBarSki...

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

139. Laya2.6 vscode 编译错误 [ 66%]

...layaair2-cmd\node_mo dules\_gulp@3.9.1@gulp\bin\gulp.js:129     gulpInst.start.apply(gulpInst, toRun);                    ^ TypeError: Cannot read property 'apply' of undefined     at C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\_gulp@3.9.1@gulp\bin...

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

140. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 66%]

...nable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.core.Sprite3D; /** * 获取...

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