大约有 628 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0086 秒)
...到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.Clip; public class Clip_Exampl...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void bottom get bottom(): nu...
来源: Laya3.0_api 发布时间: 20231115
...撞器和触发器才能触发物理反馈和生命周期。 LayaAir引擎支持8种3D碰撞形状,分别为: 盒形BoxColliderShape、球形SphereColliderShape、圆柱形CylinderColliderShape、胶囊形CapsuleColliderShape、圆锥形ConeColliderShape、平面形状StaticPlaneColliderShape、...
来源: Laya3.0_文档 发布时间: 20251010
...d in laya/display/Sprite.ts:1056 指定要使用的混合模式。目前只支持"lighter"。 Returns string Inherited from Text.blendMode Defined in laya/display/Sprite.ts:1060 指定要使用的混合模式。目前只支持"lighter"。 Parameters value: string Returns void bold get bold(): boolea...
来源: Laya3.0_api 发布时间: 20231115
...ian); } } 2.5 装饰器属性标识的类型 装饰器属性标识的类型支持引擎对象类型(例如:Laya.Vector3、Laya.Sprite3D、Laya.Camera等)、自定义的对象类型(需要标记@regClass())、以及TS语言的基本类型。 2.5.1 引擎对象类型 引擎对象类型的...
来源: Laya3.0_文档 发布时间: 20251010
...ya/display/Text.ts:119 scroll 不显示文本域外的字符像素,并且支持 scroll 接口。 Static SHRINK SHRINK: string = "shrink" Defined in laya/display/Text.ts:123 shrink 超出文本域时,文本整体缩小以适应文本框。 Static VISIBLE VISIBLE: string = "visible" Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...真阅读。 1.1 物理分辨率 物理分辨率简单理解就是硬件所支持的分辨率,以像素(px)为单位,所以我们称这个硬件上的每一个像素点为物理像素,也叫设备像素。将屏幕实际存在的像素以行数 × 列数这样的数学表达方式体现出...
来源: Laya3.0_文档 发布时间: 20251010
...位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加...
来源: Laya3.0_api 发布时间: 20231115