大约有 456 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0097 秒)
...: Color): void Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:34 颜色。 Returns Color Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:38 颜色。 Parameters value: Color Returns void Static cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/res...
来源: Laya3.0_api 发布时间: 20231115
... void Defined in laya/d3/core/material/WaterPrimaryMaterial.ts:40 地平线颜色。 Returns Vector4 Defined in laya/d3/core/material/WaterPrimaryMaterial.ts:44 地平线颜色。 Parameters value: Vector4 Returns void id get id(): number Inherited from Resource.id Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231115
...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
...ight = texture.height; // console.log("liuyi",texWidth); //定义颜色值,取值范围0~1浮点 var red = 1; var greed = 1; var blue = 1; var alpha = 1; //在顶点数组中放入4个顶点 //每个顶点的数据:(坐标x,坐标y,u,v,R,G,B,A) if(width_Size > 0 &&am...
来源: Laya_社区 发布时间: 20180619
...答(最新版本:1.7.16) 关于适配采用showAll后留白部分的颜色问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 IDE1.7.8 json图集加载问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题...
来源: Laya_社区 发布时间: 20171213
...l.albedoColor Defined in laya/d3/core/material/PBRMaterial.ts:186 漫反射颜色。 Returns Color Inherited from PBRMaterial.albedoColor Defined in laya/d3/core/material/PBRMaterial.ts:190 漫反射颜色。 Parameters value: Color Returns void albedoTexture get albedoTexture(): BaseTexture set alb...
来源: Laya3.0_api 发布时间: 20231115
...true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
...性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
... ```javascript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBox"字符串总宽度 var w = 800; //文本创建的起始x位置(>>在此使用右移运算符,相当于/2 用>>效...
来源: Laya2.0_文档 发布时间: 20210715
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text 的文...
来源: Laya3.0_api 发布时间: 20231115