大约有 591 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0047 秒)
...r/DefineDatas" DefineDatas Class DefineDatas DefineDatas 类用于创建宏定义数据集合。 Hierarchy DefineDatas Implements IClone Index Constructors constructor Methods add addDefineDatas clear clone cloneTo has remove removeDefineDatas Constructors constructor new DefineDatas(): DefineDatas ...
来源: Laya3.0_api 发布时间: 20231102
...生成代码2.2 勾选UI组件声明2.3 代码中使用UI组件三、与自定义组件脚本区别3.1 继承类不同3.2 不同的生命周期3.3 不同的使用UI组件方式四、UI运行时和自定义组件脚本的混合使用4.1 简单用法4.2 高级用法UI运行时 一、概述 在项目...
来源: Laya3.0_文档 发布时间: 20240624
as3的类里定义的字段编译后会被注释 AS3中下面的一个简单的数据类 public class Demo { public var a:int; public var b:String; public function Demo() { } }通过编译后会变成下面的代码class Demo{ constructor (){ //this.a=0; //this.b=null; } }这里字段a和b在编译...
来源: Laya_社区 发布时间: 20210222
...neDatas ObjectImplements laya.d3.core.IClone DefineDatas 类用于创建宏定义数据。 Public Methods MethodDefined By DefineDatas() 创建一个 DefineDatas 实例。 DefineDatas add(define:int):void 增加Shader宏定义。 DefineDatas clone():* 克隆。 DefineDatas cloneTo(dest...
来源: Laya2.0_api 发布时间: 20190513
...载问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 关于shader中opengl函数问题 关于apk打包动画卡的问题 问题状态 最新活动: 2017-11-06 11:53 浏览: 1072 关注: 2 人
来源: Laya_社区 发布时间: 20171106
...MyNamespace is not defined, 但是,如果我不用新文件,把这段定义放在main.ts内,就不会报错,请问如何引用外部文件的命名空间? 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20180918
...ass, className, Laya.Sprite); function Class() { Class.super(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && ...
来源: Laya_社区 发布时间: 20170619
...shader/ShaderDefine" ShaderDefine Class ShaderDefine ShaderDefine 类用于定义宏数据。 Hierarchy ShaderDefine Index Constructors constructor Constructors constructor new ShaderDefine(index: number, value: number): ShaderDefine Defined in laya/d3/shader/ShaderDefine.ts:8 创建一个宏定义...
来源: Laya3.0_api 发布时间: 20231102
...tBitmapData Cannot find the specified character in all fonts:263c 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read pr...
来源: Laya_社区 发布时间: 20200504
...行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 求指点3d射线碰撞和UI...
来源: Laya_社区 发布时间: 20170504