• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0059 秒)

1131. laya.display.cmd.DrawPathCmd_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawPathCmd" DrawPathCmd Class DrawPathCmd 根据路径绘制矢量图形 Hierarchy DrawPathCmd Index Properties brush paths pen x y...

来源: Laya3.0_api 发布时间: 20231115

1132. laya.device.motion.RotationInfo_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy ...

来源: Laya3.0_api 发布时间: 20231115

1133. laya.ui.Styles_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Styles" Styles Class Styles Styles 定义了组件常用的样式属性。 Hierarchy Styles Index Properties buttonLabelColors buttonStateNum...

来源: Laya3.0_api 发布时间: 20231115

1134. 分享:LayaAir下如何加载和使用.JSON文件! [ 69%]

...JSON文件! package { import laya.net.Loader; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(500,400); Laya.loader.load("unpack.json",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var json:JSON=Laya.loader.get...

来源: Laya_社区 发布时间: 20170807

1135. laya.display.FrameAnimation [ 69%]

...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 节点关键帧动画播放类。解析播放IDE内制作的节点动画。 Public Properties Hid...

来源: Laya2.0_api 发布时间: 20190513

1136. sprite之bug [ 69%]

sprite之bug http://www.gamework.cn/blog/post/qykings/sprite%E4%B9%8Bbug public function set scaleX(value:Number):void {  var style:Style = getStyle();    if(!style)  {  trace("----sprite--")  return;  }    if(!style._tf)  {  trace("----sprite--_tf is null--");  return;  }    if (sty...

来源: Laya_社区 发布时间: 20170608

1137. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 69%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientDataVector2" GradientDataVector2 Class GradientDataVector2 GradientDataVector2 类用于创建二维向...

来源: Laya3.0_api 发布时间: 20231115

1138. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 69%]

...ageCollection(); break; } /** * @private 销毁场景并且释放资源 */ public function garbageCollection():void { _scene.destroy();//销毁场景 _scene = null; Resource.destroyUnusedResources();//销毁无用资源(没有被场景树引用,并且没有加资源锁的) } /** * @private 加载场...

来源: Laya2.0_文档 发布时间: 20210715

1139. for each" err,must add{} [ 69%]

...s3代码中需添加大括号包住for each作用域。 原生例子 : public function ForEachDemo() { var obj:Object = [ { key:1 }, { key:2 } ]; //转成成js时工具会在使用for each的地方添加相应的报错信息: //"for each" err,must add{} for each(var value:Object in obj) trace(...

来源: Laya_社区 发布时间: 20151202

1140. 分享:TiledMap设置viewport后黑屏问题! [ 69%]

...laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Handler; public class LayaAirDemo { private var tiledMap:TiledMap; public function LayaAirDemo() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...

来源: Laya_社区 发布时间: 20170419