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

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

121. 材质-BlinnPhong-法线贴图 [ 64%]

...al.normalTexture = Laya.Texture2D.load(this.normalMapUrl[i]); } Laya.timer.frameLoop(1, this, function () { monster1.transform.rotate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3...

来源: Laya_示例 发布时间: 20240930

122. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 64%]

...putChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getHeight hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once rem...

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

123. laya.d3.core.light.DirectionLight [ 64%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

124. laya.d3.core.RenderableSprite3D [ 64%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

125. 自定义shader-简单shader [ 64%]

... = customMaterial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; v...

来源: Laya_示例 发布时间: 20240930

126. laya.d3.core.light.PointLight [ 64%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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

127. laya.d3.core.light.LightSprite [ 64%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

128. laya.d3.core.MeshSprite3D_API3.0 [ 64%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

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

129. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 64%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

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

130. drawToCanvas的问题 [ 64%]

...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Laya.timer.frameLoop(1, this, ()=> { angle +=1; if(angle > 360) { angle = 0; } sp.graphics.clear(); sp.graphics.drawPie(128,128,128,0,angle,"0xff0000"); var tex = sp.drawToTexture(256,256,0,0); //var html:Laya.HTMLCanvas = sp.drawT...

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