大约有 117 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)
...c get currentSrc(): string Defined in laya/device/media/Video.ts:244 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/device/media/Video.ts:251 设置和获取当前播放头位置。 Returns number Defined in la...
来源: Laya3.0_api 发布时间: 20231102
...码了 (function () { /** * 玩家类 */ function Player(){ //记录当前动作 this.action = null; //玩家 this.body = null; //跳 统计数 this.jumpCount = 0; //跳 最大次数 如果想三连跳 改成 3 即可 this.jumpCountMax = 2; Player.__super.call(this); this.init(); } //玩家动...
来源: Laya_社区 发布时间: 20160801
...据。 Stage对象和UI的View组件默认为true。 Sprite index : int当前播放索引。MovieClip interval : int = 30 播放间隔(单位:毫秒)。MovieClip loop : Boolean是否循环播放 MovieClip mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据...
来源: Laya2.0_api 发布时间: 20190513
...Unity中的功能。如果在本小节支持清单中未提及的,都是当前不支持的。所以,如果是刚接触Unity的开发者,在学习Unity工具使用的时候,也不必要全部学习,可以把本小节中所涉及的支持内容,作为关键字搜索学习即可。 LayaAir...
来源: Laya3.0_文档 发布时间: 20251010
...符串表示。 默认值为 "#000000"(黑色); Text text : String 当前文本的内容字符串。Text textHeight : Number[read-only] 表示文本的高度,以像素为单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则...
来源: Laya2.0_api 发布时间: 20190513
...染数据。 所以,Clear Flags(清除标记)可以决定是否清除当前渲染之前存储起来的缓冲区信息,该属性功能有四个选项(Sky、SolidColor、DepthOnly、Nothing),下面分别介绍它们具体清除什么缓冲信息。 Sky 天空盒 天空盒是默认选项...
来源: Laya3.0_文档 发布时间: 20251010
...能。默认为false。UI的View组建默认为true。 Sprite index : int当前播放索引。AnimationPlayerBase interval : int 播放间隔(单位:毫秒),默认为50毫秒,可以通过Config.animationInterval修改默认时间间隔。AnimationPlayerBase isPlaying : Boolean[read-only] ...
来源: laya_api 发布时间: 20170422
...。 count get count(): number Defined in laya/display/AnimationBase.ts:269 当前动画中帧的总数。 Returns number customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有...
来源: Laya3.0_api 发布时间: 20231115
...tSrc get currentSrc(): string Defined in laya/media/VideoNode.ts:154 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/media/VideoNode.ts:161 设置和获取当前播放头位置。 Returns number Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...ited from AnimationBase.count Defined in laya/display/AnimationBase.ts:269 当前动画中帧的总数。 Returns number customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有...
来源: Laya3.0_api 发布时间: 20231115