大约有 1,497 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0131 秒)
Laya_社区(809) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(28) Laya2.0_示例(5) Laya_示例(4)
...个AO效果类 Returns ScalableAO Accessors active get active(): boolean set active(value: boolean): void Inherited from PostProcessEffect.active Defined in laya/d3/core/render/PostProcessEffect.ts:35 是否开启 Returns boolean Inherited from PostProcessEffect.active Defined in laya/d3/core/render...
来源: Laya3.0_api 发布时间: 20231115
...ml.size(html.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变了laya.html.js的HTMLDivElement中width的set方法 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'wid...
来源: Laya_社区 发布时间: 20170620
...的雨 赞同来自: CKice 、赫子 、HIPPOPMANANDRAPGIRL .vscode中的settings.json试试改成这个,报错应该是vscode升级导致的问题 { "git.ignoreLimitWarning": true, "debug.javascript.usePreview":false } 2020-07-15 3 5 分享 微博 QZONE 微信 189*****909 赞同...
来源: Laya_社区 发布时间: 20200715
...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...
来源: Laya2.0_api 发布时间: 20190513
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
...候仍然无效。只有手动设置color才能生效。 public static setGray(node: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; if (sprite) { ...
来源: Laya_社区 发布时间: 20170717
...目前尝试了localRotationEuler,rotationEuler。 1.rotationEuler只有set方法,没有get方法,没办法做缓动。 2.localRotationEuler有get和set方法,但是有万向锁的问题(不知道是不是我理解错了)。 3.想参考 transform.rotate()转化为四元素Quaternion来...
来源: Laya_社区 发布时间: 20170829
... : Vector3 设置环境光颜色。 StandardMaterial ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlp...
来源: laya_api 发布时间: 20170929
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513