大约有 342 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)
...ported Menu Globals "laya/media/SoundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _is...
来源: Laya3.0_api 发布时间: 20231115
...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
...发射器的形状,对粒子本身没有影响。 Play On Awake(自动播放):勾选后粒子系统会在启动时自动开始发射粒子,否则需要通过代码控制发射。 Emitter Velocity Mode(发射器速度模式):选择粒子系统如何计算使用的速度。 Transfo...
来源: Laya3.0_文档 发布时间: 20260122
...心,旋转中心。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_文档 发布时间: 20251010