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

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

231. laya.d3.core.BaseCamera_API3.0 [ 84%]

...oveChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce __init__ instantiate load Constructors constructor new BaseCamera(nearPlane?: number, farPlane?: number): BaseCamera Overrides Sprite3D.constructor Defined in...

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

232. laya.components.ComponentDriver_API3.0 [ 84%]

... Index Properties _toDestroys Properties Readonly _toDestroys _toDestroys: Set<Component> = new Set() Defined in laya/components/ComponentDriver.ts:10 Globals "laya/components/ComponentDriver" ComponentDriver _toDestroys Legend Object literal Variable Function Type alias Class Class with type ...

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

233. typeScript 在interface 接口中怎么用get set [ 84%]

typeScript 在interface 接口中怎么用get set function get time():Number; function set time(value:Number):void; 类似于as3 中的这种写法。 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Mon...

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

234. 附加脚本的使用问题 [ 84%]

....log("加载ScaleButton");     }     private _owner: any;     public set owner(o: laya.display.Sprite) {         this._owner = o;         console.log("设置owner");     }     public get owner(): laya.display.Sprite {         return this._owner;     } } 新建脚本类如上...

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

235. laya.physics.joint.DistanceJoint [ 84%]

...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...

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

236. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 84%]

...sition); this.loadMainDatas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public loadMainDatas() { Laya.loader.load([ { url: "res/ui/UIComponents@atlas0.png", type: Loader.IMAGE }, { url: "res/ui/UIComponents.fui", type: Loader.BUFFER }, {...

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

237. laya.d3.component.Animator [ 84%]

...ntation     public function get avatar():Avatar    public function set avatar(value:Avatar):voidcacheFrameRateproperty cacheFrameRate:int 获取缓存播放帧,缓存模式下生效。 Implementation     public function get cacheFrameRate():int    public function set cacheFrameRat...

来源: laya_api 发布时间: 20170929

238. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 84%]

...**********/ class DollGunRole extends GunRole{  public _box: GunBox; // toset: /** 飞行的范围, 用于计算飞行路径 */ private _fly_site:Site = new SiteEntity( 10, 10, -1, 400 );  public static _ani_cached:boolean = false;  // toset: /** 飞行物的中心点, 参照物为魔鬼, 用于...

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

239. laya.particle.emitter.EmitterBase [ 84%]

...n     public function get emissionRate():Number    public function set emissionRate(value:Number):voidminEmissionTimeproperty public var minEmissionTime:Number 发射粒子最小时间间隔 particleTemplateproperty particleTemplate:ParticleTemplateBase  [write-only] 设置粒子粒子...

来源: laya_api 发布时间: 20170929

240. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 84%]

... behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-enabling CheckJNI W/ActivityThread: Application com.layabox.game is waiting for the debugger on port 8100... I/System.out: Sending WAIT chunk I/dalvikvm: Debugger is active I/System.out: Debugg...

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