大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...进行控制,以及获取声音信息。 */ public static function playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel { 你的参数传入是否正确那? 或者能否发一下你出问题部分的代码或者小demo那...
来源: Laya_社区 发布时间: 20180417
...态类,下面new出了一个对象,把他添加到舞台中出错。 public static GameStart:GameStart; GameMain.GameStart=new GameStart(); Laya.stage.addChild(GameMain.GameStart); 报错:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStar...
来源: Laya_社区 发布时间: 20170826
...运动的持续时间。 * @return 指定时间的插补属性的值。 */ public static function circIn(t:Number, b:Number, c:Number, d:Number):Number { return -c * (Math.sqrt(1 - (t /= d) * t) - 1) b; } 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20180408
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/Shake" Shake Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231115
...加filter的时候仍然无效。只有手动设置color才能生效。 public static setGray(node: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; if (spri...
来源: Laya_社区 发布时间: 20170717
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/RigidBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之...
来源: Laya3.0_api 发布时间: 20231115
... * 当前着色器的一个实例对象。 */ public static shader: coolDownShader = new coolDownShader(); constructor() { var vs: string = " \ attribute vec2 position; \ attribute vec2 texcoord; \ ...
来源: Laya_社区 发布时间: 20170606
...请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: public static function create(w:int, h:int, surfaceFormat:int = WebGLContext.RGBA, surfaceType:int = WebGLContext.UNSIGNED_BYTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = fa...
来源: Laya_社区 发布时间: 20180505
...mes No Frames ComponentProperties | Methods | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui...
来源: laya_api 发布时间: 20170929
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/ShaderData" ShaderData Class ShaderData 着色器数据类。 Hierarchy ShaderData Implements IClone Index Methods addDefine clearDefi...
来源: Laya3.0_api 发布时间: 20231102