大约有 2,906 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1716) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...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
...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
使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 2017-09-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zcourage 赞同来自: illegaldriver 、煜寒了 、182*****089 、137*****...
来源: Laya_社区 发布时间: 20170929
...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
...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
... '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
...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
...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
...件后 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
...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