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

大约有 20 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

1. laya.utils.Byte [ 100%]

...一个 IEEE 754 单精度(32 位)浮点数。 Byte  readFloat32Array(start:int, len:int):* 从字节流中 start 参数指定的位置开始,读取 len 参数指定的字节数的数据,用于创建一个 Float32Array 对象并返回此对象。 Byte  readFloat64():Number 从字节流的...

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

2. laya.d3.shader.ShaderPass [ 99%]

...thods  MethodDefined By  _compileToTree(parent:ShaderNode, lines:Array, start:int, includefiles:Array, defs:Object):void[override] ShaderPassProperty DetailrenderStatepropertyrenderState:RenderState  [read-only] 获取渲染状态。 Implementation     public function get renderState():Rend...

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

3. laya.d3.math.BoundSphere [ 92%]

...球。 BoundSphere  createFromSubPoints(points:Vector.<Vector3>, start:int, count:int, out:BoundSphere):void[static] 从顶点的子队列生成包围球。 BoundSphere  intersectsRayDistance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere  int...

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

4. laya.device.Shake [ 86%]

...通知,此侦听事件响应一次后自动移除。 EventDispatcher  start(throushold:int, interval:int):void 开始响应设备摇晃。 Shake  stop():void 停止响应设备摇晃。 ShakeProperty Detailinstancepropertyinstance:Shake  [read-only] Implementation     public static funct...

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

5. laya.events.Event [ 85%]

...ove[static] 定义 dragmove 事件对象的 type 属性值。Event  DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event  EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event  END : String = end[static] 定义 end ...

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

6. laya.ui.UIEvent [ 83%]

...gmove[static] 定义 dragmove 事件对象的 type 属性值。Event DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event END : String = end[static] 定义 end 事...

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

7. laya.resource.RenderTexture2D [ 76%]

...,所以如果被外面打断了的话,会出错。 RenderTexture2D  start():void 开始绑定。 RenderTexture2DProtected Methods  MethodDefined By  _disposeResource():void[override] RenderTexture2DPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDef...

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

8. laya.physics.Physics [ 71%]

...通知,此侦听事件响应一次后自动移除。 EventDispatcher  start(options:Object = null):void 开启物理世界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics  stop():void 停止物理...

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

9. laya.display.EffectAnimation [ 50%]

...以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite  play(start:* = 0, loop:Boolean = true, name:String):void[override] EffectAnimation pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象...

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

10. laya.ani.swf.MovieClip [ 50%]

...dex:int = 0, loop:Boolean = true):void 播放动画。 MovieClip  playTo(start:int, end:int, complete:Handler = null):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分...

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