大约有 76 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
...染优化,所以保证一个类实现丰富功能的同时,又达到高性能。 Sprite的renders函数对renders数组(RenderSprite数组)中的第this._renderType个RenderSprite精灵进行渲染(调用_fun函数),_fun函数是RenderSprite类的方法,定义了属于不同类型的...
来源: Laya_社区 发布时间: 20200925
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为...
来源: Laya2.0_api 发布时间: 20190513
...素之一,能产生更加强烈的立体感。 即时阴影非常损耗性能,不能用得太多,特别是游戏场景,模型量较大,一般我们不使用实时投影,而使用静态的光照贴图。 6.1 灯光的阴影属性 要让场景中产生投影,我们需了解灯光的以...
来源: Laya3.0_文档 发布时间: 20251010
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用...
来源: laya_api 发布时间: 20170929
...质量,值越大,简化程度越高,生成的导航网格更粗糙,性能更好。值越小,简化程度越低,生成的导航网格更精确,但性能消耗更大。 较大的值会减少导航网格的复杂度,提高寻路性能,因此,对于简单场景,可以使用较大...
来源: Laya3.0_文档 发布时间: 20251010
...的格式。所以,一方面,避免CPU解码可以减少运算带来的性能压力。另一方面,就是直接读取并渲染,也可以避免图像解压到内存的占用开销。 1.1 纹理压缩的目的 1,降低内存,特别是移动端应用,内存占用不应过大,否则低...
来源: Laya3.0_文档 发布时间: 20251010
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用...
来源: laya_api 发布时间: 20170929
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用...
来源: Laya2.0_api 发布时间: 20190513
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗...
来源: laya_api 发布时间: 20170929
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用...
来源: Laya2.0_api 发布时间: 20190513