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

大约有 319 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)

271. laya.components.AnimationClip2D_API3.0 [ 72%]

...earReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors constructor new AnimationClip2D(): AnimationClip2D Ov...

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

272. 有些模型load之后,MeshSprite3D 的共享材质个数0,无法对材质进行操作 [ 72%]

...("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void {       var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D;       if(ms)       {           trace("length " ...

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

273. 3d获取组件代码bug [ 72%]

...bug,帧属性面板打不开 如何获取图片每个像素点的RGB? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2017-06-30 11:20 浏览: 831 关注: 3 人 zfree • 2017-06-30 11:31 不是说没有返回值,而是这里需要return不能继续...

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

274. UI运行时 · LayaAir3.4 · 引擎文档 · LAYABOX [ 71%]

...oid { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=>{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) UI组件脚本就已经介绍完了,再复杂的UI都可以通过勾选组件声明...

来源: Laya3.0_文档 发布时间: 20251010

275. laya.media.VideoTexture_API3.0 [ 71%]

...oveReference _setCPUMemory _setCreateURL _setGPUMemory canPlayType destroy event gpuCompressFormat hasListener isCreateFromURL load loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constru...

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

276. Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? [ 71%]

...物理引擎 刚体碰撞点位置获取不正确 laya3D动画无法播放 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 关于龙骨动画转换 缓动动画SKEW-Y从0到360卡住 什么ani动画执行的不是按中心点执行的 如何获取图片每个像素点的RGB? Ani...

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

277. laya.ui.TextArea_API3.0 [ 70%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

278. List选中项下滚会变 [ 69%]

...index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //console.log(e.type,index); if(this.selectedIndex !== index){ if(this.selectedIndex!==-1){ //之前选中的列表项的选中状态设置false this.sList.setItem(this.selectedIndex,{ select : {label : "服...

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

279. 场景管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开Msg场景 Laya.Scene.open("Msg.ls", false, { "text": "点击成功!" }); }); } } 其中,Scene场景有一个Button组件,需要在IDE中,将其拖入到@property暴露...

来源: Laya3.0_文档 发布时间: 20251010

280. laya.d3.core.render.BaseRender [ 68%]

...ackagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRender, TerrainRender, WaterRender Render 类用于渲染器的父类,抽象类不允许实例。 Public Propertie...

来源: laya_api 发布时间: 20170929