大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)
Laya_社区(1676) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(83) Laya2.0_示例(16) Laya_示例(11)
...turns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Inherited from Material.effectiveProperty Defined in laya/d3/core/material/Material.ts:534 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string, data?: any): boolean In...
来源: Laya3.0_api 发布时间: 20231115
...么解决 var text:Laya.Text = someNode.getChildByName('textName'); [ts] Type 'Node' is not assignable to type 'Text'. Property '_text' is missing in type 'Node' 2016-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20161029
...时 控制台写出 报错如下: 连接出错 Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //--------------------------------------------...
来源: Laya_社区 发布时间: 20180211
...ir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。Laya.init(600, 400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWAL...
来源: Laya_示例 发布时间: 20260303
...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node c...
来源: laya_api 发布时间: 20170929
...Obj/RenderGeometryElementOBJ" FastSinglelist Class FastSinglelist<T> Type parameters T Hierarchy SingletonList<T> FastSinglelist Index Constructors constructor Methods destroy indexof Constructors constructor new FastSinglelist(): FastSinglelist Inherited from SingletonList.constructor D...
来源: Laya3.0_api 发布时间: 20231115
...ull):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumti...
来源: laya_api 发布时间: 20170929
...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clo...
来源: laya_api 发布时间: 20170929
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: Laya2.0_api 发布时间: 20190513
...turns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Inherited from Material.effectiveProperty Defined in laya/d3/core/material/Material.ts:534 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string, data?: any): boolean In...
来源: Laya3.0_api 发布时间: 20231115