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

大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0076 秒)

2011. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...te(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",L...

来源: Laya3.0_文档 发布时间: 20251010

2012. 使用createFrames创建的图集动画。如何单独修改这个缓存动画播放速度 [ 42%]

...例就可以拥有不同的播放速度了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = c...

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

2013. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 42%]

...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Inherited property Inherited method Inherited accessor Enumeration Interface

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

2014. laya.display.Graphics_API3.0 [ 42%]

...tring, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: string 图片地址。 Default value x: number = 0 (可选)显示图片的x位置。 Default value y: number = ...

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

2015. laya.maths.Matrix_API3.0 [ 42%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

2016. laya.d3.utils.Utils3D_API3.0 [ 42%]

...Normal uint8ArrayToArrayBuffer TEMPVector30 Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

2017. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 42%]

...建 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

2018. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 42%]

...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Inherited property Inherited method Inherited accessor Enumeration Interface

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

2019. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 42%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

2020. laya.physics.joint.MotorJoint_API3.0 [ 42%]

...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface

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