大约有 26,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0266 秒)
Laya_社区(24784) Laya2.0_文档(735) Laya3.0_文档(233) Laya3.0_api(188) Laya2.0_api(120) laya_api(99) Laya_示例(58) Laya2.0_示例(47)
...ed from Resource.destoryedImmediately Defined in laya/resource/Resource.ts:104 是否在引用计数为0的时候立马删除他 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional nam...
来源: Laya3.0_api 发布时间: 20231102
... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...
来源: Laya2.0_api 发布时间: 20190513
...代码: camera.removeAllLayers(); camera.addLayer(Layer.getLayerByNumber(10)); camera.clearFlag = BaseCamera.CLEARFLAG_DEPTHONLY; 3d精灵的设置: var eff:Sprite3D = resCtrl.instance.getEff(resUrl); eff.layer = Layer.getLayerByNumber(10); scene.addChild(eff); 2018-05-23 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20180523
...E下没问题,导出成微信小程序之后,在微信开发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." ...
来源: Laya_社区 发布时间: 20180222
...不吝赐教。 这是场景代码/* * 用户扑克界面; */ var Panel1 = (function (_super) { function Panel1() { Panel1.super(this); //this.poke_a.x=0; } Laya.class(Panel1, "Panel1", _super); var _proto = Panel1.prototype; //======================================= //将指定的牌显示到桌...
来源: Laya_社区 发布时间: 20180130
...标系的问题那么如何改,才能与unity保持一致? 附件 : --> 2019-04-30 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 尚虞 赞同来自: 先确定你LAYA里面的相机位子是不是UNIY中的...
来源: Laya_社区 发布时间: 20190430
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...
来源: laya_api 发布时间: 20170929
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...
来源: laya_api 发布时间: 20170929
...ds(min?: Vector3, max?: Vector3): Bounds Defined in laya/d3/math/Bounds.ts:130 创建一个 Bounds 实例。 Parameters Optional min: Vector3 min 最小坐标 Optional max: Vector3 max 最大坐标。 Returns Bounds Accessors max get max(): Vector3 set max(value: Vector3): void Defined in laya/d3/ma...
来源: Laya3.0_api 发布时间: 20231115
...rue|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边...
来源: Laya2.0_api 发布时间: 20190513