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

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

211. 组件属性的代码使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 88%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图1-2所示: (图1-2) 1.2 3D节点...

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

212. 分包后, 资源加载问题 [ 88%]

...ng100,'loading100',_super); console.log("kk6") var __proto=loading100.prototype; console.log("kk7") __proto.cleanMe=function(){ this.load.destroy(true); } console.log("kk8") loading100.FINISH="FN"; console.log("kk9") return loading100; })(Sprite) //class ui.loadingjzaUI extends laya.ui.View var load...

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

213. 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. [ 88%]

使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 2017-09-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zcourage 赞同来自: illegaldriver 、煜寒了 、182*****089 、137*****...

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

214. laya.d3.component.animator.AnimatorStateCondition_API3.0 [ 88%]

...atorStateTriggerCondition Index Constructors constructor Accessors id name type Methods checkState conditionIDToName conditionNameToID Constructors constructor new AnimatorStateCondition(name?: string): AnimatorStateCondition Defined in laya/d3/component/Animator/AnimatorStateCondition.ts:52 状态...

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

215. laya.layagl.QuickTestTool_API3.0 [ 88%]

...w Hierarchy QuickTestTool Index Constructors constructor Properties _renderType _repaint _x _y Methods render __init__ enableQuickTest getMCDName showCountInfo showRenderTypeInfo Constructors constructor new QuickTestTool(): QuickTestTool Defined in laya/layagl/QuickTestTool.ts:64 Returns QuickTestT...

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

216. 升级到1.78beta版后,包编译错误 [ 88%]

... 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'.   Types of property 'create' are incompatible.     Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencil...

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

217. 求问为什么找不到Laya这个问题? [ 88%]

...renceError: Laya is not defined   以下是index.html文件代码:<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <title>www.layabox.com</title> <meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user...

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

218. laya.display.cmd.FillTextureCmd_API3.0 [ 88%]

...rarchy FillTextureCmd Index Properties color height offset percent texture type width x y ID Methods getBoundPoints recover Properties color color: number = 4294967295 Defined in laya/display/cmd/FillTextureCmd.ts:50 (可选)绘图颜色 height height: number Defined in laya/display/cmd/FillText...

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

219. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 88%]

...件后 IDE 会卡死崩溃  IDE版本:2.12.0   {     "x":0,     "type":"View",     "selectedBox":3,     "selecteID":4,     "searchKey":"View",     "props":{"width":640,"sceneColor":"#000000","height":1136},     "nodeParent":-1,     "maxID":11,     "label":"View",     "isOpen"...

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

220. laya.d3.core.MeshRender [ 88%]

...erIndex:int, vector2:Vector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: laya_api 发布时间: 20170929