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

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

291. laya.device.motion.Gyroscope [ 69%]

...es No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChan...

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

292. laya里的所有单例都没有初始 [ 69%]

...: 与内容相关的链接 提交 7 个回复 无所畏惧 赞同来自: public function Main() {                if (window["Laya3D"]) window["Laya3D"].init(GameConfig.width, GameConfig.height);             else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"])...

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

293. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 68%]

...rt laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class HelloLayabox { private const AniConfPath:String = "../../../../res/role.atlas"; private var roleAni:Animation; public function HelloLayabox() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWi...

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

294. laya.d3.math.Color_API3.0 [ 68%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Propertie...

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

295. laya.d3.physics.CharacterController [ 68%]

...erControllerProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class CharacterControllerInheritanceCharacterController PhysicsComponent Component Object CharacterController 类用于创建角色控制器。 Public Properties Hide Inherited Public Properties Show Inherited Public P...

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

296. 进度条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...lass NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.pro...

来源: Laya3.0_文档 发布时间: 20251010

297. 用LayaAir引擎解析Tiled Map地图(ActionScript-2D进阶篇(AS3)-扩展模块) [ 68%]

... laya.maths.Rectangle; import laya.utils.Browser; import laya.webgl.WebGL; public class TiledMapDemo { private var tMap:TiledMap; public function TiledMapDemo() { //初始化舞台 Laya.init(Browser.width, Browser.height, WebGL); //创建TiledMap实例 tMap = new TiledMap(); //创建Rectangle实例...

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

298. laya.d3.core.light.SpotLight [ 68%]

...roperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties...

来源: laya_api 发布时间: 20170929

299. 预加载进入游戏界面 [ 68%]

... @return 此 LoaderManager 对象本身。          */         public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享...

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

300. Tween.to时添加滤镜 [ 68%]

...度、色相等参数作为getter和setter,以写子类继承为例: public class CustomBitmap extends Sprite { public function CustomBitmap() { } public get luminance():Number { //返回亮度参数 //... } //亮度,其他一样 public set luminance(value:Number):void { //你自己的处理...

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