大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0115 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...动移除。 EventDispatcher rotate(rotation:Vector3, isLocal:Boolean = true, isRadian:Boolean = true):void 旋转变换。 Transform3D translate(translation:Vector3, isLocal:Boolean = true):void 平移变换。 Transform3DProperty Detaildummypropertydummy:AnimationTransform3D 取关联虚拟...
来源: laya_api 发布时间: 20170929
...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/Arena/Arena.ls")); var camera = scene.addChild(new...
来源: Laya_示例 发布时间: 20260303
... private OpenLabel() { this.label.visible = true; this.label.on(Laya.Event.MOUSE_OVER, this, this.ChangeLabelColor); this.label.on(Laya.Event.MOUSE_OUT, this, this.ChangeLabelColor); } 附件 : --> Test1.z...
来源: Laya_社区 发布时间: 20190514
...2)); // this.character.transform.translate(this.translateW); haskeyShift = true; } else { this.playWalk(); this.rigidBody.applyForce(new Laya.Vector3(0, 0, 0.2)); // this.character.transform.translate(this.translateW); haskeyW = true; } } if (keyS) { if (keyShift) { this.playRun(); this.rigidBody.ap...
来源: Laya_社区 发布时间: 20200917
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...
来源: laya_api 发布时间: 20170929
...宽度,高度自动匹配 txt.width = 400; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置描边属性 txt.stroke = 2; txt.strokeColor = "#ffffff"; txt.borderColor = "#00ff0...
来源: Laya_示例 发布时间: 20260303
...t = false; GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = true; GameConfig.init(); class Main { constructor() { Laya.isWXOpenDataContext = true; Laya.isWXPosMsg = true; if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameCon...
来源: Laya_社区 发布时间: 20200104
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内...
来源: laya_api 发布时间: 20170929
...ght') as Laya.DirectionLight; //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 20; directionLight.shadowResolution = 2048; var receiveShadowgroup = (scene_360 as Laya.Node).getChildByName('PuCheng').getChildByName('receiveShadow'); var castShado...
来源: Laya_社区 发布时间: 20190813
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blend...
来源: laya_api 发布时间: 20170929