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

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

2291. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 49%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

2292. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 49%]

...int对象父容器rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...

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

2293. http无响应 [ 49%]

...RequestComplete(e) { this.aaaa.text += "收到数据:" + hr.data; } Laya.class(LoginView,"LoginView",_super); //设置继承关系 //初始化函数 LoginView.prototype.init = function () { //监听登录按钮按下事件 this.login.on(Laya.Event.CLICK,this,this.onButtonLogin); //忘记密码 thi...

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

2294. laya.d3.math.Vector4 [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  elements : *...

来源: laya_api 发布时间: 20170929

2295. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 49%]

...nt/Volume/BatchVolume/StaticInstanceBatchRender" StaticInstanceBatchRender Class StaticInstanceBatchRender StaticInstanceBatchRender 类用于创建动作状态。 Hierarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _...

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

2296. Spine渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...

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

2297. laya.particle.ParticleSetting [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By  ageAddScale...

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

2298. 高级应用-实时阴影 [ 49%]

... mat = layaMonkey.getChildAt(0).getChildAt(0).skinnedMeshRender.material; }class RealTimeShadow { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...

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

2299. 求助,屏幕旋转后滚动条没有跟随旋转 [ 49%]

...求助,屏幕旋转后滚动条没有跟随旋转 module dialog { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChi...

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

2300. 请问怎么制作一个layabox js版本的加载效果 [ 49%]

...s$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; progressBar.y = Laya.st...

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