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

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

281. 自己写了个label继承官方的label,出现了问题,求指导~ [ 76%]

... Administrator * */ public class Label extends laya.ui.Label { private var _textFormat:TextFormat; private var _txt:String; private var _lWidth:int; private var _lHeight:int; private var _lx:int; private var _ly:int; public function Label(text:String="") { super(text); } public function get textForm...

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

282. laya.particle.ParticleTemplate2D_API3.0 [ 76%]

...cleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeRef...

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

283. Sprite-遮罩-放大镜 [ 76%]

...效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV =...

来源: Laya2.0_示例 发布时间: 20240930

284. laya.d3.core.light.DirectionLightCom_API3.0 [ 76%]

...ierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shado...

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

285. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 76%]

... ```typescript /* ……省略若干代码 */ //创建刚体碰撞器 let _rigidBody = sphere.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //开启运动类型刚体 _rigidBody.isKinematic = true; /* ……省略若干代码 */ ``` 在Unity中设置运动类型刚体的方式,如图4所示...

来源: Laya2.0_文档 发布时间: 20210715

286. 怎么求如图的角度x ,还有如果 b点在上面希望角度也要算出来 [ 76%]

... QZONE 微信 jinghuhuilai 赞同来自:   /Users/hezhenlong/Downloads/IMG_0594.JPG 2017-05-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jinghuhuilai 相关问题 [引擎优化]希望官方可以增加stencil功能 为什么有的...

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

287. Texture.getPixels在手机真机Native环境中会报错 [ 76%]

...    if (window.conch) {                 return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空!             }             else {                 return this.getTexturePixels(x, y, width, height);   ...

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

288. 给模型动态添加脚本报错 [ 75%]

...sModel/hanbao.lh");                 goldNode = this.scene_3d.addChild(sp);                 goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() * 5))...

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

289. 3d坐标转屏幕坐标的问题 [ 75%]

...方(看不见的位置) 2019-08-09 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 从目前的描述看不出你的具体原因, 我猜测一下 是不是因为 laya是右手坐标系  unity是左手坐标系的原因?如果不是,请多再详细说一下,从这个片段的句...

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

290. UI-Tree [ 75%]

...": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "...

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