大约有 290 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0089 秒)
...Globals "laya/ani/swf/MovieClip" MovieClip Class MovieClip MovieClip 用于播放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag...
来源: Laya3.0_api 发布时间: 20231115
...心,旋转中心。Sprite playEvent : String[write-only] 设置触发播放的事件 SoundNode rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite...
来源: laya_api 发布时间: 20170422
...t player(): AnimationPlayer Defined in laya/ani/bone/Skeleton.ts:177 得到播放器的引用 Returns AnimationPlayer rotation get rotation(): number set rotation(value: number): void Inherited from Text.rotation Defined in laya/display/Sprite.ts:777 旋转角度,默认值为0。以角度为单位...
来源: Laya3.0_api 发布时间: 20231115
...量、竖向分割数量。 clip.autoPlay = true;//设置 clip 动画自动播放。 clip.interval = 100;//设置 clip 动画的播放时间间隔。 clip.x = 100;//设置 clip 对象的属性 x 的值,用于控制 clip 对象的显示位置。 clip.y = 100;//设置 clip 对象的属性 y 的值...
来源: Laya3.0_api 发布时间: 20231115
...alue: number): void Defined in laya/spine/SpineSkeleton.ts:164 设置当前播放位置 Parameters value: number 当前时间 Returns void customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定...
来源: Laya3.0_api 发布时间: 20231115
...心,旋转中心。Sprite player : AnimationPlayer[read-only] 得到播放器的引用 Skeleton rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprit...
来源: laya_api 发布时间: 20170929
...心,旋转中心。Sprite player : AnimationPlayer[read-only] 得到播放器的引用 Skeleton rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprit...
来源: Laya2.0_api 发布时间: 20190513
...是UI进程的代码 //这里用runScriptMax而不是runScript,因为在播放状态下,runScript依然会发送到源场景,而不是正在播放的场景 let ret = await Editor.scene.runScriptMax("TestGameScript.test", "hello"); console.log(ret); //ok 编辑器实现脚本隔离的机制是...
来源: Laya3.0_文档 发布时间: 20240918
...erited from Clip.autoPlay Defined in laya/ui/Clip.ts:416 表示是否自动播放切片动画,若自动播放值为true,否则值为false; 可控制切片动画的播放、停止。 Returns boolean Inherited from Clip.autoPlay Defined in laya/ui/Clip.ts:420 表示是否自动播放切片动画,...
来源: Laya3.0_api 发布时间: 20231115
.../particle/Particle2D" Particle2D Class Particle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...
来源: Laya3.0_api 发布时间: 20231115