大约有 368 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...览器的连接。当Chrome连接成功后,才会继续执行JavaScript脚本。 当需要对启动时加载的JavaScript脚本进行调试时,请优先选择该模式。 **注意:在调试的工程中请确保调试机与Android测试机在同一网络上。** ## 二、调试layaAirIDE构建...
来源: Laya2.0_文档 发布时间: 20210715
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...
来源: Laya3.0_api 发布时间: 20231115
...索widthCurve,找到属性后将图(2-1)中所示的的属性值复制给脚本中的_widthCurve属性。 (图2-1) 设置颜色梯度属性:在打开的场景文件中,搜索colorGradient,找到属性后将图(2-2)中所示的的属性值复制给脚本中的_gradient属性。 (图2-2...
来源: Laya3.0_文档 发布时间: 20251010
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 intensity intensity: number Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:55 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...
来源: Laya3.0_api 发布时间: 20231115
...在浏览器端,根本没有什么秘密可言,即便加密了,写个脚本执行下就能拿到你的源码。但是为了满足开发者这方面的需求,我们来简单说下,html5是如何进行二进制图片操作的。 ### 不得不说的XMLHttpRequest 说起加载文件,不得...
来源: Laya2.0_文档 发布时间: 20210714
...在浏览器端,根本没有什么秘密可言,即便加密了,写个脚本执行下就能拿到你的源码。但是为了满足开发者这方面的需求,我们来简单说下,html5是如何进行二进制图片操作的。 ### 不得不说的XMLHttpRequest 说起加载文件,不...
来源: Laya2.0_文档 发布时间: 20210714
...问题 目前使用的是LayaAir2.0版本做的以下内容. 我在一个脚本里继承了Laya.Script然后写了以下方法: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this._rayPt.y = Laya.MouseManager.instance.mouseY; Ga...
来源: Laya_社区 发布时间: 20190319
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...
来源: Laya3.0_api 发布时间: 20231115