大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...成在具体的使用说明: 主域: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
...建 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
...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
...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
...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
...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
...个数量,则自动清理一次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
...象的点击事件回掉函数处理器。 Implementation public function get clickHandler():Handler public function set clickHandler(value:Handler):voidselectedproperty selected:Boolean 一个布尔值,表示是否被选择。 Implementation public function get selected():...
来源: laya_api 发布时间: 20170929
...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
...nimatorStateScriptConstructor DetailAnimatorStateScript()Constructorpublic function AnimatorStateScript() 创建一个新的 AnimatorStateScript 实例。 Method DetailonStateEnter()method public function onStateEnter():void 动画状态开始时执行。 onStateExit()method public function onStat...
来源: Laya2.0_api 发布时间: 20190513