大约有 1,834 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(1474) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...ctors constructor new Byte(data?: any): Byte Defined in laya/utils/Byte.ts:50 创建一个 Byte 类的实例。 Parameters Default value data: any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内...
来源: Laya3.0_api 发布时间: 20231115
...imationPlayerBase interval : int 播放间隔(单位:毫秒),默认为50毫秒,可以通过Config.animationInterval修改默认时间间隔。AnimationPlayerBase isPlaying : Boolean[read-only] 是否在播放中 AnimationPlayerBase loop : Boolean是否循环播放AnimationPlayerBase mask :...
来源: laya_api 发布时间: 20170422
...10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(0); this.text.color="#CCCCCC"; this.text.x=Math.random()*...
来源: Laya3.0_文档 发布时间: 20251010
...音量 * @param ratio 衰减比例 (0-1),例如0.5表示降低到50% * @param fadeDuration 渐变过渡时间(毫秒),默认立即生效 */ public attenuateBGM(ratio: number, fadeDuration: number = 0): void { if (!this.bgmChannel || ratio < 0 || r...
来源: Laya_社区 发布时间: 20250930
...neBoneSlotDic bindBoneBoneSlotDic: any Defined in laya/ani/bone/Templet.ts:50 绑定插槽数据的字典 boneSlotArray boneSlotArray: any[] = [] Defined in laya/ani/bone/Templet.ts:52 存放插糟数据的数组 boneSlotDic boneSlotDic: any Defined in laya/ani/bone/Templet.ts:48 存放插槽数据...
来源: Laya3.0_api 发布时间: 20231115
...c DRAG_MOVE DRAG_MOVE: string = "dragmove" Defined in laya/events/Event.ts:50 定义 dragmove 事件对象的 type 属性值。 Static DRAG_START DRAG_START: string = "dragstart" Defined in laya/events/Event.ts:48 定义 dragstart 事件对象的 type 属性值。 Static Readonly EMPTY EMPTY: Readon...
来源: Laya3.0_api 发布时间: 20231115
...type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Optional complete: Handler 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源...
来源: Laya3.0_api 发布时间: 20231115
...ns number Overrides AnimationBase.y Defined in laya/device/media/Video.ts:350 设置视频的y坐标 override Parameters val: number Returns void zOrder get zOrder(): number set zOrder(value: number): void Inherited from AnimationBase.zOrder Defined in laya/display/Sprite.ts:1775 z排序,更改此...
来源: Laya3.0_api 发布时间: 20231102
...间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会重置帧循环定时器的...
来源: laya_api 发布时间: 20170929
...e.ts:55 autoHide autoHide: boolean = false Defined in laya/ui/ScrollBar.ts:50 一个布尔值,指定是否自动隐藏滚动条(无需滚动时),默认值为false。 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115