大约有 261 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(114) Laya3.0_api(69) Laya2.0_文档(22) Laya2.0_api(21) laya_api(19) Laya3.0_文档(15) Laya_示例(1)
...赞同来自: 你可以尝试用描边的shader,用摄像机发射的射线获取到想要描边的对象,再将对象的材质替换为描边材质,我觉得这种效率会比较高 2021-02-04 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定...
来源: Laya_社区 发布时间: 20210203
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Sc...
来源: Laya3.0_api 发布时间: 20231115
... 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
...成渲染性能的下降。 **ShaderPass中比较重要的属性:** 获取渲染状态。获取后还能对此进行修改。 ```typescript renderState(): RenderState ``` ### 1.多ShaderPass简单示例 下方示例来自于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.c...
来源: Laya2.0_文档 发布时间: 20210715
... 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
...成渲染性能的下降。 **ShaderPass中比较重要的属性:** 获取渲染状态。获取后还能对此进行修改。 ```typescript renderState(): RenderState ``` ### 1.多ShaderPass简单示例 下方示例来自于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.c...
来源: Laya2.0_文档 发布时间: 20210715
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
... 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