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

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

181. lib/arm/liblayaair.so 总是崩溃 [ 45%]

...ei.pgmng.PGAction@3a09166 actionId =10010 pkg =com.huawei.android.launcher extend1 =19752 extend2 = flag =3 type =1 08-14 10:57:51.320 5024-6106/? W/PGMiddleWare: in handleAction method, action = 10010     in handleAction, invoke client = com.huawei.pgmng.middleware.AudioEffectLowPowerImpl@ef6459e...

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

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

...ipt /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ###### ...

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

183. 求ShuriKenParticle3D用法 [ 42%]

...                  = Laya.Burst;     export class JinBi extends ShuriKenParticle3D {         constructor() {             let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat");          ...

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

184. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 41%]

...: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), 添加物理...

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

185. 微信小游戏渲染开放域卡顿处理 [ 41%]

...开放域代码请勿使用该类      */     export class WXBitmap extends Laya.Sprite {         private $viewName: string;         private $texture: Laya.Texture;         private $bitmap: any;         private $timer: lie.Timer;         public auto: boolean = true;    // ...

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

186. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 40%]

...gClass, property } = Laya; @regClass() export default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//...

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

187. UI-RefreshList [ 40%]

..."visible": false } }; } this.msgIdNow += i; return _arr; } } class ItemBox extends Box{ public var msgBG; public var selectBox; public var avatar; public var redHot; public var redHotText; public var LmsgTitle; public var LmsgTime; public var LmsgText; public var flag; public var flagText; public va...

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

188. laya.ui.List_API3.0 [ 37%]

...dex= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addCh...

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

189. laya.ui.Tree_API3.0 [ 36%]

... import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox...

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

190. HTML文本 · LayaAir3.0文档 · LAYABOX [ 36%]

...<img src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 ...

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