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

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

701. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 87%]

...成在具体的使用说明: 主域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAdpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.stage.bgColor = "#ffffff"; if (Brow...

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

702. laya.device.media.HtmlVideo_API3.0 [ 87%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

703. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 87%]

...mber发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters boundBox:BoundBox_getSpeedBoundBox()meth...

来源: laya_api 发布时间: 20170929

704. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 87%]

...mber发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters boundBox:BoundBox_getSpeedBoundBox()meth...

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

705. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 87%]

...r mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这里不需要扩展名,外部保证fnt与png文件同名 mBitmapFont.loadFont("layabmfont.fnt",new Handler(this,onLoaded)); } private func...

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

706. 显卡驱动停止响应,且大概率蓝屏,原来是Handler惹的祸,但原因是什么 [ 87%]

...aya.display.Stage; import laya.webgl.WebGL; public class testlaya { public function testlaya() { Laya.init(100, 100, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = "#ffffff"; new A(); } } }package { import laya.utils.Handler; public class...

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

707. laya.utils.Log [ 87%]

...个数量,则自动清理一次Method Detailclear()method public static function clear():void 清理日志 enable()method  public static function enable():void 激活Log系统,使用方法Laya.init(800,600,Laya.Log); print()method  public static function print(value:String):void 增加日志...

来源: laya_api 发布时间: 20170929

708. laya.ui.ISelect [ 87%]

...象的点击事件回掉函数处理器。 Implementation     public function get clickHandler():Handler    public function set clickHandler(value:Handler):voidselectedproperty selected:Boolean 一个布尔值,表示是否被选择。 Implementation     public function get selected():...

来源: laya_api 发布时间: 20170929

709. laya.d3.utils.Size [ 87%]

...ropertyfullScreen:Size  [read-only] Implementation     public static function get fullScreen():Sizeheightproperty height:int  [read-only] Implementation     public function get height():intwidthproperty width:int  [read-only] Implementation     public function get width():intCons...

来源: laya_api 发布时间: 20170929

710. laya.d3.animation.AnimatorStateScript [ 87%]

...nimatorStateScriptConstructor DetailAnimatorStateScript()Constructorpublic function AnimatorStateScript() 创建一个新的 AnimatorStateScript 实例。 Method DetailonStateEnter()method public function onStateEnter():void 动画状态开始时执行。 onStateExit()method  public function onStat...

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