大约有 129 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
...和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来,并且缓存类型默认为normal。 ```java //自动缓存没有动画的地块 this.tMap.autoCache = true; //自动缓存的类型,地图较大时建议使用normal this.tMap.autoCacheType ...
来源: Laya2.0_文档 发布时间: 20210715
...和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来,并且缓存类型默认为normal。 ```java //自动缓存没有动画的地块 this.tMap.autoCache = true; //自动缓存的类型,地图较大时建议使用normal this.tMap.autoCacheType ...
来源: Laya2.0_文档 发布时间: 20210715
...和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来,并且缓存类型默认为normal。 ```java //自动缓存没有动画的地块 tMap.autoCache = true; //自动缓存的类型,地图较大时建议使用normal tMap.autoCacheType = "normal"...
来源: Laya2.0_文档 发布时间: 20210714
...xported Menu Globals "laya/ui/Clip" Clip Class Clip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect...
来源: Laya3.0_api 发布时间: 20231115
...和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来,并且缓存类型默认为normal。 //自动缓存没有动画的地块 this.tMap.autoCache = true; //自动缓存的类型,地图较大时建议使用normal this.tMap.autoCacheType = "nor...
来源: Laya3.0_文档 发布时间: 20251010
...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
...class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,...
来源: laya_api 发布时间: 20170929
...class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activ...
来源: Laya2.0_api 发布时间: 20190513
...nimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模版被多次使用时,相比于每次...
来源: laya_api 发布时间: 20170929