大约有 218 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya_社区(141) Laya3.0_api(21) laya_api(14) Laya2.0_api(14) Laya2.0_文档(11) Laya3.0_文档(6) Laya_示例(6) Laya2.0_示例(5)
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...unt:int [read-only] 粒子存活个数。 Implementation public function get aliveParticleCount():intautoRandomSeedproperty public var autoRandomSeed:Boolean是否使用随机种子。 colorOverLifetimeproperty colorOverLifetime:ColorOverLifetime 获取生命周期颜色,注意:如修...
来源: Laya2.0_api 发布时间: 20190513
...运用播放动画名方式,效果如(图6)。 ```typescript public function onComplete():void{ ................. var monkey:Sprite3D = Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //加载到场景 scene.addChild(monkey); //让摄影机指向角色 camera.transform.look...
来源: Laya2.0_文档 发布时间: 20210715
... 提交 2 个回复 cuixueying 赞同来自: gls_laybox var IndexView = (function(_super){ this.angle; this.draw; this.box; this.circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.bo...
来源: Laya_社区 发布时间: 20170807
... 21:05 浏览: 1392 关注: 2 人 熊猫大侠 • 2018-01-19 09:20 public function Test1View() { Laya.timer.loop(10,this,draw); } private function draw():void { texture = Laya.loader.getRes("comp/lhjicon_5.png"); var temp:Texture = Texture.createFromTexture(texture,0,0,texture.sourceWidth...
来源: Laya_社区 发布时间: 20180118
... 比如 this.loadNum=0; //资源加载进度中函数 _proto_.onProgress = function(){ //显示加载进度 Laya.timer.loop(100,this,this.ontime); this.txt_load.text = "资源加载中,当前进度:" + parseInt(this.loadNum) + "%"; //this.onComplete(); } //时钟定时执行函数 _proto_.ontime...
来源: Laya_社区 发布时间: 20171209
...dTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new Rectangle(0,0,bian,bian); this.scrollRect = rect; pos = bian * 0.5; } publi...
来源: Laya_社区 发布时间: 20171124
... ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { //初始化3D场景 this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/TerrainScene/XunLongShi.ls")); //删除原始资源中包含的默认相机 var camera = this.scene.ge...
来源: Laya_示例 发布时间: 20251130
...rivate var analyser:Object;private var audioBufferSourceNode:Object;public function Main(){Laya.init(500,500);AudioContext =Browser.window.AudioContext || Browser.window.webkitAudioContext;audioContext = new AudioContext();analyser = audioContext.createAnalyser();analyser.fftSize = 256;Laya.stage.on...
来源: Laya_社区 发布时间: 20181023
...te (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:22941:22) at Function.Animator._update (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:23368:47) at Scene3D.__proto._update (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:32831:12) at Stage.__proto.render (file:///F...
来源: Laya_社区 发布时间: 20191026