大约有 5,239 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0104 秒)
Laya_社区(4668) Laya2.0_文档(214) Laya3.0_api(117) Laya3.0_文档(90) Laya2.0_api(82) laya_api(64) Laya_示例(3) Laya2.0_示例(1)
我在unity打开模型是有颜色的,但是在laya中打开是白色的 Laya3D.init(0,0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NODE; Laya.Stat.show(); // 加载插件导出的场景。 var scene = Laya.Scene.load('h5/3333d.ls'); Laya.stage...
来源: Laya_社区 发布时间: 20171227
...状态 stateNum4、其它纹理属性4.1 纹理形状 textureShape4.2 sRGB颜色空间sRGB4.3 透明通道alphaChannel4.4 生成多级纹理generateMipmap4.5 预乘Alpha premultiplyAlpha5、设置服务器纹理资源纹理资源 设置说明 Author: Charley 纹理是游戏开发中用于表现图...
来源: Laya3.0_文档 发布时间: 20251128
... 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe = createApe(); redApe.filters = [redFilter]; var firstChild = Laya.stage.getChildAt(0); redApe.x = firstChild.x + apeTexture.width;...
来源: Laya_示例 发布时间: 20251130
...度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By escapeSequence : Object[static] 需要替换的转义字符表 UIUtilsMethod DetailaddFilter()method public static function addFilter(target:Spr...
来源: Laya2.0_api 发布时间: 20190513
...度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By escapeSequence : Object[static] 需要替换的转义字符表 UIUtilsMethod DetailaddFilter()method public static function addFilter(target:Spr...
来源: laya_api 发布时间: 20170929
..., 0, 0, 0, 0, // G 0, 0, 0, 0, 0, // B 0, 0, 0, 1, 0 // A ]; //创建一个颜色滤镜对象,红色 let redFilter = new ColorFilter(redMat); // 红色的猩猩 let redApe = this.createApe(); redApe.filters = [redFilter]; let firstChild = Laya.stage.getChildAt(0); redApe.x = firstChild.x + apeTextur...
来源: Laya2.0_示例 发布时间: 20251130
...ilterInheritanceColorFilter Filter ObjectImplements IFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha 值,以生成具有一组新的 RGBA 颜色和 Alpha 值的结果。该类允许饱和度更...
来源: Laya2.0_api 发布时间: 20190513
... number 圆点Y 轴位置。 radius: number 半径。 fillColor: any 填充颜色,或者填充绘图的渐变对象。 Default value lineColor: any = null (可选)边框颜色,或者填充绘图的渐变对象。 Default value lineWidth: number = 1 (可选)边框宽度。 Returns DrawCir...
来源: Laya3.0_api 发布时间: 20231115
...n Img; } /**创建红色滤镜位图方法**/ function creteRedFilter(){ //颜色滤镜矩阵,红色 var colorMatrix = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建红色颜色滤镜 var redFilter = new Laya.ColorFilter(colorMatrix); //在坐标280,50位...
来源: Laya_社区 发布时间: 20170811
...----------------- | | text | 文本内容字符串。 | | color | 文本的颜色值。默认为黑色。 | | bold | 文本是否为粗体字显示。 | | font | 文本的字体名称。 | | fontSize | 文本的字体大小。 | | align | 文本的水平对齐方式。可选值有left、center、rig...
来源: Laya2.0_文档 发布时间: 20210714