大约有 2,154 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(672) Laya_社区(471) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(5)
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var rect; (function() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; createCantralRect(); })(); function creat...
来源: Laya_示例 发布时间: 20241118
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var rect; (function() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; createCantralRect(); })(); function crea...
来源: Laya_示例 发布时间: 20241118
... y:Number (可选)Y轴偏移量。 Method Detailrecover()method public function recover():void 回收到对象池 Constant DetailIDConstantpublic static const ID:String = DrawTextureMon May 13 2019, 03:12 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...npropertyaction:IFilterAction [read-only] Implementation public function get action():IFilterActiontypeproperty type:int [read-only] Implementation public function get type():intFri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...ailcomXmlpropertycomXml:Object XML 数据。 Implementation public function get comXml():Object public function set comXml(value:Object):voidFri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...收一个renderTarget WebGLRTMgrMethod DetailgetRT()method public static function getRT(w:int, h:int):RenderTexture2D 获得一个renderTarget 暂时先按照严格大小判断。 Parameters w:int h:intReturnsRenderTexture2D — releaseRT()method public static function releaseRT(rt:RenderTexture2...
来源: Laya2.0_api 发布时间: 20190513
...mber bits.HalfFloatUtilsMethod DetailconvertToNumber()method public static function convertToNumber(float16bits:int):Number convert a half float number bits to a number. Parameters float16bits:int — float16bits - half float number bits ReturnsNumberroundToFloat16Bits()method public static functi...
来源: Laya2.0_api 发布时间: 20190513
...r:int [read-only] 获取唯一识别ID。 Implementation public function get identifier():intpositionproperty position:Vector2 [read-only] 获取触摸点的像素坐标。 Implementation public function get position():Vector2Mon May 13 2019, 02:40 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
... private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300, WebGL); drawSomething(); } private function drawSomething():void ...
来源: Laya2.0_文档 发布时间: 20210714
...ined in laya/utils/Delegate.ts:77 Returns number Methods add add(callback: Function, target?: any, args?: any[]): void Defined in laya/utils/Delegate.ts:12 Parameters callback: Function Optional target: any Optional args: any[] Returns void clear clear(): void Defined in laya/utils/Delegate.ts:47 Re...
来源: Laya3.0_api 发布时间: 20231115