大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0069 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
.../聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spotLight.direction = new Laya.Vector3(0.15, -1.0, 0.0); spotLight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); spotLight.ra...
来源: Laya_示例 发布时间: 20250222
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zom...
来源: Laya_示例 发布时间: 20250222
... Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new TextStyle(): TextStyle Defined in laya/display/css/TextStyle.ts:53 Returns TextStyle Properties a...
来源: Laya3.0_api 发布时间: 20231115
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc"); var skyBox = new Laya.SkyBox(); skyBox.textureCube = textureCube; camera.sky = skyBox; var teapot1...
来源: Laya_示例 发布时间: 20250222
...| -------------------------------- | | text | 文本内容字符串。 | | color | 文本的颜色值。默认为黑色。 | | bold | 文本是否为粗体字显示。 | | font | 文本的字体名称。 | | fontSize | 文本的字体大小。 | | align | 文本的水平对齐方式。可选值有le...
来源: Laya2.0_文档 发布时间: 20210714
...h:渲染纹理的像素宽度。 Height:渲染纹理的像素高度。 Color Format:渲染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多级渐进纹理级别。 Multi Samples:多重采样。 sRGB:此渲染纹理...
来源: Laya3.0_文档 发布时间: 20240910
...tDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_color: Vector4, a_uv: Vector2, }, defines: ...
来源: Laya3.0_文档 发布时间: 20250214
...hangbang.y -= (paihangbang.fontSize + 20); paihangbang.color="#ffffff"; list.addChild(paihangbang); // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = t...
来源: Laya_社区 发布时间: 20210122
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); directionLight.shadow = true; directionLight.shadowDistance = 3; directionLight.shadowResolution = 2048; directionLight.shadowPSS...
来源: Laya_社区 发布时间: 20170809
...Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha 值,以生成具有一组新的 RGBA...
来源: Laya3.0_api 发布时间: 20231115