大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
...re2D 获取天空立方体纹理。 Implementation public function get texture():Texture2D public function set texture(value:Texture2D):voidConstructor DetailSkyDome()Constructorpublic function SkyDome() 创建一个 SkyBox 实例。 Method Detail_render()methodoverride public functio...
来源: laya_api 发布时间: 20170929
...,我想试着自己实现一个比较效率高的Dictionary类,实现get set values remove keys 等方法。 一开始想用weakObject和any[]分别储存key和value,但是发现执行remove之后,values很难再和key对应; 后面想用两个any[]来分别储存,key和value分别储存...
来源: Laya_社区 发布时间: 20191112
...融合过渡播放。 Animator destroy():void 销毁组件 Component getControllerLayer(layerInex:int = 0):AnimatorControllerLayer 获取控制器层。 Animator getCurrentAnimatorPlayState(layerInex:int = 0):AnimatorPlayState 获取当前的播放状态。 Animator getDefaultState(layerIn...
来源: Laya2.0_api 发布时间: 20190513
...是否进行连续碰撞检测。 Implementation public function get continuousCollisionDetection():Boolean public function set continuousCollisionDetection(value:Boolean):voiddisableSimulationproperty public static var disableSimulation:Boolean = falsefixedTimeStepproperty public v...
来源: Laya2.0_api 发布时间: 20190513
...。 AnimatorState cloneTo(destObject:*):void 克隆。 AnimatorState getScript(type:Class):AnimatorStateScript 获取脚本。 AnimatorState getScripts(type:Class):Vector.<AnimatorStateScript> 获取脚本集合。 AnimatorStateProperty Detailclippropertyclip:AnimationClip 获取动...
来源: Laya2.0_api 发布时间: 20190513
...Resource.DEBUG Defined in laya/resource/Resource.ts:18 Accessors cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:116 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/R...
来源: Laya3.0_api 发布时间: 20231102
...splay.Text#defaultFont */ public function get font():String { return _font; } public function set font(value:String):void { if ((_style as TextStyle).currBitmapFont) { ...
来源: Laya_社区 发布时间: 20190128
...oader.IMAGE}],new Laya.Handler(that,function(){ var jsonData = Laya.loader.getRes("res/playerKpiFont.json"); var imageData = Laya.loader.getRes("res/playerKpiFont.png"); // 左中右创建的3个实例 var bp = new BPFont(jsonData,imageData,600,"left"); var bp1 = new BPFont(jsonData,imageData,600,"c...
来源: Laya_社区 发布时间: 20161014
localStorage如何判定其是否存在 if (!LocalStorage.getItem("gameid")){ } 这样写会报错 Cannot read property 'getItem' of null 会导致程序终止,我想在程序开始的时候进行一次判定,根据其gameid是否存在进行后续的逻辑判断 2017-05-18 添加评论 免...
来源: Laya_社区 发布时间: 20170518
... 类里的方法 各向异性等级 */ get/set anisoLevel() 设置一下 texture2d.anisoLevel 2019-08-08 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 EagleNight 相关问...
来源: Laya_社区 发布时间: 20190808