大约有 163 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...down 事件对象的 type 属性值。*/ static MOUSE_DOWN: string; /** 定义 mouseup 事件对象的 type 属性值。*/ static MOUSE_UP: string; /** 定义 click 事件对象的 type 属性值。*/ static CLICK: string; ...
来源: Laya_社区 发布时间: 20170601
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 renderQueue renderQueue: number Inherited from Material.renderQueue Defined in laya/d3/core/material/Material.ts:134 所属渲染队列. url ...
来源: Laya3.0_api 发布时间: 20231102
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 renderQueue renderQueue: number Inherited from Material.renderQueue Defined in laya/d3/core/material/Material.ts:100 所属渲染队列. url...
来源: Laya3.0_api 发布时间: 20231115
...需要暴露,上面就都需要加上@property()。 @property( { type : String } ) public text: string = ""; constructor() { super(); } } 5、Runtime的使用差异 3.0的场景与2.0完全不是一个概念, 3.0的runtime只能在场景上的2D根节点Scene2D或预制体的根节点上设置...
来源: Laya3.0_文档 发布时间: 20251010
...oaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera numChildren : int[read-only] 子对象数量。 Node orthographic : Boolean 获取是否正交投影矩阵。 BaseCamera orthographicVertica...
来源: laya_api 发布时间: 20170929
....HEI); this.img = new Laya.Image(); this.addChild(this.img); } setImg(src: string): void { this.img.skin = src; } } 运行效果: (图2-1) List的其他属性也可以通过代码来设置,有兴趣的读者可以自己通过代码设置List,创建出符合自己需要的列表。 Copyrigh...
来源: Laya3.0_文档 发布时间: 20251010
...oaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera needViewport : Boolean[read-only] Camera normalizedViewport : Viewport 获取裁剪空间的视口。 Camera numChildren : int[read-only] 子...
来源: laya_api 发布时间: 20170929
... package awesomepackage; message AwesomeMessage { required string awesomeField = 1; } 放在laya/proto下面,proto这个文件夹没有请自己创建。 2、在bin下的index.html里的这个位置,看粗体部分,protobuf.js在项目里已经存在了,不需要再...
来源: Laya_社区 发布时间: 20170216
...oaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera needLeftViewport : Boolean[read-only] VRCamera needRightViewport : Boolean[read-only] VRCamera normalizedViewport : Viewport[write-only] 设...
来源: laya_api 发布时间: 20170929
...nt.CLICK,this,onClipClick,["my_clip"]); } private function onBtnClick(name:String):void { // TODO Auto Generated method stub trace(name); } private function onClipClick(name:String):void { // TODO Auto Generated method stub trace(name); } LayaAirDemo.zip 2016-10-31 0 2 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20161030