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

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

311. 性能测试-骨骼 [ 67%]

...ath, type: Loader.BUFFER }], Handler.create(this, this.onAssetsLoaded)); } public onAssetsLoaded(): void { var tTexture: Texture = Loader.getRes(this.mTexturePath); var arraybuffer: ArrayBuffer = Loader.getRes(this.mAniPath); this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this...

来源: Laya2.0_示例 发布时间: 20260929

312. laya.utils.PerfHUD [ 67%]

...es No Frames PerfHUDProperties | Methods | Events Packagelaya.utilsClasspublic class PerfHUDInheritancePerfHUD Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 No...

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

313. 地图,用某张图片平铺如何实现 [ 67%]

...{ import laya.display.Stage; import laya.ui.Image; import laya.utils.Stat; public class ImageRepeatDemo { public function ImageRepeatDemo() { Laya.init(1000,600); Stat.show(10,10); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; var tempWidth:int = 176; var tempHeight:int = 94; var repeatX:int = 5; var ...

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

314. laya.ui.MoreGame [ 67%]

...ames No Frames MoreGameProperties | Methods | Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boole...

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

315. laya.d3.shader.Shader3D [ 67%]

...ames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D BaseShader laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By activeShader : BaseShader[static] BaseShader ...

来源: laya_api 发布时间: 20170929

316. laya.d3.core.Transform3D [ 66%]

...Frames No Frames Transform3DProperties | Methods Packagelaya.d3.coreClasspublic class Transform3DInheritanceTransform3D EventDispatcher Object Transform3D 类用于实现3D变换。 Public Properties PropertyDefined By  dummy : AnimationTransform3D 取关联虚拟变换。 Transform3D  forwar...

来源: laya_api 发布时间: 20170929

317. laya.d3.core.scene.Scene [ 66%]

...roperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

来源: laya_api 发布时间: 20170929

318. laya.ani.AnimationPlayer [ 66%]

...Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。 Public Properties PropertyDefined By  cacheFrameRate : int 获取...

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

319. VR场景-VR地球 [ 66%]

...ls.Stat; import common.CameraMoveScript; import common.VRCameraMoveScript; public class VRScene1 { private var rotation:Vector3 = new Vector3(0, 0.002, 0); public function VRScene1() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.s...

来源: Laya_示例 发布时间: 20260929

320. sprite 设置为静态变量后,无法从舞台移除 [ 66%]

...; import laya.net.Loader; import laya.utils.Stat; import laya.webgl.WebGL; public class HtmlDemo { private static var sp:Sprite; public function HtmlDemo() { Laya.init(800, 480,WebGL); Stat.show(); sp=new Sprite(); sp.loadImage("background.jpg"); Laya.stage.addChild(sp); Laya.stage.on(Event.CLICK,th...

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