大约有 387 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
...,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Label borderColor : String 文本...
来源: Laya2.0_api 发布时间: 20190513
...,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Text borderColor : String 文本...
来源: Laya2.0_api 发布时间: 20190513
...性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。...
来源: Laya2.0_api 发布时间: 20190513
...色器的内容为textureVS,片段着色器的内容为texturePS,渲染模式为前向渲染。 实现具体的顶点着色器(VS)和片段着色器(PS)时,需要加上开始和结束标志:GLSL Start / GLSL End。 GLSL Start #defineGLSL textureVS // VS #endGLSL #defineGLSL texturePS...
来源: Laya3.0_文档 发布时间: 20251010
...舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模式,帧率越高,渲染压力越大,越费电,合...
来源: Laya3.0_api 发布时间: 20231115
...nt('http://localhost:7788/' ); //设置这个地址下的资源加载走DCC模式 dcc.pathMapToDCC= 'http://localhost:8899/'; //通过DCC的根文件初始化dcc客户端 let initok = await dcc.init('http://localhost:7788/version.3.0.0.json',null); //把dcc功能插入laya引擎 dcc.injectToLaya(); ...
来源: Laya3.0_文档 发布时间: 20251010
...,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字。如果值为 true,则文本为粗体字。 Text borderColor : String 文...
来源: Laya2.0_api 发布时间: 20190513
...se.blendMode Defined in laya/display/Sprite.ts:960 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from AnimationBase.blendMode Defined in laya/display/Sprite.ts:964 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns vo...
来源: Laya3.0_api 发布时间: 20231102
... Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg...
来源: Laya3.0_api 发布时间: 20231115
...se.blendMode Defined in laya/display/Sprite.ts:960 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from AnimationBase.blendMode Defined in laya/display/Sprite.ts:964 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns vo...
来源: Laya3.0_api 发布时间: 20231102