• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 201 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)

131. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 52%]

...e): """ :param filepath: 接收要修改文档的路径 :param startprobe: 获取文本内容的起始探针 :param endprobe: 获取文本内容的结束探针 :param startoffset: 获取文本内容的起始偏移量 :param endoffset: 获取文本内容的结束偏移量 :param backuporiginalfile: ...

来源: Laya_社区 发布时间: 20170418

132. laya.physics.joint.JointBase_API3.0 [ 50%]

... 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 发布时间: 20231115

133. laya.d3.core.MeshFilter_API3.0 [ 50%]

... 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 发布时间: 20231115

134. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 49%]

...); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上...

来源: Laya2.0_文档 发布时间: 20210714

135. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 48%]

... 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 发布时间: 20231115

136. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 48%]

...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...

来源: Laya2.0_文档 发布时间: 20210715

137. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

来源: Laya3.0_文档 发布时间: 20251010

138. laya.d3.physics.PhysicsComponent_API3.0 [ 47%]

... 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 发布时间: 20231115

139. laya.d3.component.LODGroup_API3.0 [ 47%]

... 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 发布时间: 20231115

140. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 47%]

...到的效果图: ![](img/2.png)(图2) 在这个着色器中,我们将获取到的点的世界坐标转换为三维矩阵,再与法线相乘等到的 `v_Normal` 值作为该点的颜色值用于显示。得到的就是这个样子的模型了。

来源: Laya2.0_文档 发布时间: 20210715