大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...子对象及从父节点移除自己。 Parameters destroyChild:Boolean (default = true) — (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 destroyChildren()method override public function destroyChildren():void 销毁所有子对象,不...
来源: laya_api 发布时间: 20170929
...shSprite3D = new Laya.MeshSprite3D(Laya.Mesh.load("Assets/FBX/scene_1-default001.lm")); 这样写就可以获得材质,而lh文件则不行,然而这样写的话,又出现了Laya.Event.HIERARCHY_LOADED事件并没有被触发,导致无法在Laya.Event.HIERARCHY_LOADED事件运行的...
来源: Laya_社区 发布时间: 20170422
...nstructor Defined in laya/filters/BlurFilter.ts:13 模糊滤镜 Parameters Default value strength: number = 4 模糊滤镜的强度值 Returns BlurFilter Properties renderFunc renderFunc: any Defined in laya/filters/BlurFilter.ts:13 strength strength: number Defined in laya/filters/BlurFilter.ts:10 ...
来源: Laya3.0_api 发布时间: 20231115
...e (true); break; case 5: this.skip(4); break; /* istanbul ignore next */ default: throw Error("invalid wire type " + wireType + " at offset " + this.pos); } return this; }; 附件 : --> 2019-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20191202
...详细设置见下图代码和附件DEMO中的TestScene.scene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = ...
来源: Laya_社区 发布时间: 20190730
...次导入就出问题了。是要把unity场景导入到laya2.6. export default class SceneLoad extends Laya.Script{ constructor(){ super(); } onAwake(){ Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,funct...
来源: Laya_社区 发布时间: 20200516
... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行...
来源: Laya2.0_文档 发布时间: 20210715
...Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone cloneTo Constructors constructor new QuaternionKeyframe(weightMode?: boolean): QuaternionKeyframe Overrides Keyframe.constructor Defined in laya/d3/core/QuaternionKeyframe.ts:20 创建一个 Quater...
来源: Laya3.0_api 发布时间: 20231115
...>hitArea(type:Rectangle)>width/height。</p> * @default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。</p> */ 2018-04-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180426
... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态...
来源: Laya2.0_文档 发布时间: 20210715