大约有 125 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0023 秒)
Laya2.0_文档(39) Laya_社区(28) Laya3.0_api(22) Laya3.0_文档(18) Laya2.0_api(13) laya_api(4) Laya_示例(1)
...糊滤镜只有1个属性: (图3-1) Strength:模糊滤镜的模糊强度值,数值越大越模糊。 3.2 代码实现 使用BlurFilter类直接创建滤镜,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { // 获得Image...
来源: Laya3.0_文档 发布时间: 20250826
...BaseTexture` 遮挡贴图。 `occlusionTextureStrength:Number` 遮挡贴图强度。 `parallaxTexture:BaseTexture` 视差贴图 `parallaxTextureScale:Number` 视差贴图缩放系数。 `renderMode:int` [write-only] 设置渲染模式。 `smoothness:Number` 光滑度。 `smoothnessSource:int` 光滑...
来源: Laya2.0_文档 发布时间: 20210715
...BaseTexture` 遮挡贴图。 `occlusionTextureStrength:Number` 遮挡贴图强度。 `parallaxTexture:BaseTexture` 视差贴图 `parallaxTextureScale:Number` 视差贴图缩放系数。 `renderMode:int` [write-only] 设置渲染模式。 `smoothness:Number` 光滑度。 `smoothnessSource:int` 光滑...
来源: Laya2.0_文档 发布时间: 20210714
...BaseTexture` 遮挡贴图。 `occlusionTextureStrength:Number` 遮挡贴图强度。 `parallaxTexture:BaseTexture` 视差贴图 `parallaxTextureScale:Number` 视差贴图缩放系数。 `renderMode:int` [write-only] 设置渲染模式。 `smoothness:Number` 光滑度。 `smoothnessSource:int` 光滑...
来源: Laya2.0_文档 发布时间: 20210715
...现实中的点光源比如灯泡、蜡烛,可以感觉到点光源是有强度、颜色和衰减半径属性。 ```javascript //创建点光源 var pointLight = scene.addChild(new Laya.PointLight()) as Laya.PointLight; //设置点光源位置 pointLight.transform.position = new Laya.Vector3(0.4, ...
来源: Laya2.0_文档 发布时间: 20210714
...往一个方向发射 BlurFilter建议支持分别设置xy方向的模糊强度,现在只支持一个strength 如何改变progress条方向; 如何检测鼠标滚轮方向? laya3d如何控制camera镜头方向,ts 问题状态 最新活动: 2019-04-03 12:23 浏览: 1522 关注: 2 人
来源: Laya_社区 发布时间: 20181105
...`albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和...
来源: Laya2.0_文档 发布时间: 20210714
...`albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和...
来源: Laya2.0_文档 发布时间: 20210715
...现实中的点光源比如灯泡、蜡烛,可以感觉到点光源是有强度、颜色和衰减半径属性。 ```javascript //创建点光源 var pointLight:PointLight = scene.addChild(new PointLight()) as PointLight; //设置点光源位置 pointLight.transform.position = new Vector3(0.4, 0.4,...
来源: Laya2.0_文档 发布时间: 20210715
...现实中的点光源比如灯泡、蜡烛,可以感觉到点光源是有强度、颜色和衰减半径属性。 ```javascript //创建点光源 this.pointLight = this.scene.addChild(new Laya.PointLight()); //设置点光源颜色 this.pointLight.color = new Laya.Vector3(1.0, 0.5, 0.0); //设置...
来源: Laya2.0_文档 发布时间: 20210714