大约有 479 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(137) Laya_社区(113) Laya2.0_api(94) laya_api(91) Laya2.0_文档(27) Laya3.0_文档(14) Laya2.0_示例(2) Laya_示例(1)
...ed : Boolean[read-only] 是否已处理。 Resource id : int[read-only] 获取唯一标识ID(通常用于优化或识别)。 Resource lastUseFrameCount : int[read-only] 距离上次使用帧率。 Resource loaded : Boolean[read-only] Resource lock : Boolean是否加锁,true为不能使...
来源: laya_api 发布时间: 20170422
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...例。 Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean 获取是否可用。 BaseRender id : int[read-only] 获取唯一标识ID,通常...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170422
...-1 将准备好的图片放置项目资源目录下,并预加载资源,获取texture 准备好的图片head3.png 放置资源目录下 获取texture Laya.loader.load('head3.png',Handler.create(this,onTextureLoaded)); } private var texture:Texture; private function onTextureLoaded():void { textur...
来源: Laya_社区 发布时间: 20170324
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231115
...t = 0; private var _values:Array = []; private var _keys:Array = []; /** * 获取字典的长度。 */ public function get lenght():int { return _lenght; } /** * 获取所有的子元素列表。 */ public function get values():Array { return _values; } /** * 获取所有的子元素键名列表。 ...
来源: Laya_社区 发布时间: 20180619
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170422
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929