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

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

131. Laya.Script的派生类的_update函数不工作? [ 67%]

...的_update函数不工作? 我从Laya.Script类extends了一个自己的class,贴在一个物体上,运行的时候脚本的_start函数中的log正常打印出来了,但是_update函数中的log没有打印 _update(state:Laya.RenderState) { console.log("state:", state.elapsedTime); } 请...

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

132. laya.events.InputManager_API3.0 [ 67%]

...ternals Only exported Menu Globals "laya/events/InputManager" InputManager Class InputManager Hierarchy InputManager Index Constructors constructor Properties clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mouseEventsEnabled mouseX mouseY multiTouchEnabled Accessors inst touchCou...

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

133. 微信小游戏,请先初始化小游戏适配库 [ 67%]

...适配库 Wechat Lib:1.9.94, 2018.3.15 14:07:52 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} code.js:7132 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error Browser.__init__ @ code.js:7132 (anonymous) @ code.js:7057 (an...

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

134. laya.effect.FadeOut_API3.0 [ 67%]

...herited Externals Only exported Menu Globals "laya/effect/FadeOut" FadeOut Class FadeOut 淡出效果 Hierarchy EffectBase FadeOut Index Constructors constructor Properties _extra _singleton autoDestroyAtComplete delay duration ease eventName owner repeat runInEditor scriptPath target Accessors awak...

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

135. laya.effect.FadeIn_API3.0 [ 67%]

...Inherited Externals Only exported Menu Globals "laya/effect/FadeIn" FadeIn Class FadeIn 淡入效果 Hierarchy EffectBase FadeIn Index Constructors constructor Properties _extra _singleton autoDestroyAtComplete delay duration ease eventName owner repeat runInEditor scriptPath target Accessors awaked...

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

136. laya.d3.resource.models.SubMesh_API3.0 [ 67%]

...rnals Only exported Menu Globals "laya/d3/resource/models/SubMesh" SubMesh Class SubMesh SubMesh 类用于创建子网格数据模板。 Hierarchy GeometryElement SubMesh Index Constructors constructor Properties _geometryElementOBj Accessors bufferState destroyed drawType indexCount indexFormat ins...

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

137. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 67%]

...aya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); St...

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

138. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 67%]

...rted Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Accessors active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode int...

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

139. laya.physics.joint.GearJoint_API3.0 [ 67%]

...ernals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角速度,另一种是齿轮表面的线速度 Hierarchy JointBase...

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

140. 获取的ui页面里下on事件无法触发 [ 66%]

...tartView.prototype.open = function(){ console.log("Open is ok"); } }; Laya.class(GameStartView,"GameStartView", GameStartUI); 输出:Button {toggle: false, _bitmap: AutoBitmap, _text: Text, _strokeColors: null, _state: 0…} 其中为什么on事件无法触发,该怎么样写?谢谢!   2018...

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