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

大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0121 秒)

6441. laya.d3.core.MeshRenderer_API3.0 [ 25%]

...tRenderbitFlag changeVertexDefine shaderValueInit Constructors constructor new MeshRenderer(): MeshRenderer Overrides BaseRender.constructor Defined in laya/d3/core/MeshRenderer.ts:55 创建一个新的 MeshRender 实例。 Returns MeshRenderer Properties Optional _extra _extra: IComponentExtra Inhe...

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

6442. laya.display.Animation [ 25%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

6443. laya.physics.RigidBody_API3.0 [ 25%]

...der onReset onStart onUpdate setAngle setVelocity Constructors constructor new RigidBody(): RigidBody Inherited from Component.constructor Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns RigidBody Properties Optional _extra _extra: IComponentExtra Inherited ...

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

6444. laya.display.Stage [ 24%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

6445. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 24%]

...mponent可以方便的将你的组件和数据绑定在一起 this._comp = new IEditor.DataComponent(MyPanelType); //inspect可以多次调用,将多个数据组合在一个面板编辑 this._panel.inspect(this._comp.props, MyPanelType); this._panel.on("my_click", ()=> { alert("hello"); }); } }...

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

6446. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 24%]

...ender onPreRender onReset onStart onUpdate wakeUp Constructors constructor new CannonRigidbody3D(collisionGroup?: number, canCollideWith?: number): CannonRigidbody3D Overrides CannonPhysicsCollider.constructor Defined in laya/d3/physicsCannon/CannonRigidbody3D.ts:223 创建一个 RigidBody3D 实例...

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

6447. laya.d3.component.hlod.HLODRender_API3.0 [ 24%]

...tFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new HLODRender(): HLODRender Overrides BaseRender.constructor Defined in laya/d3/component/HLOD/HLODRender.ts:25 Returns HLODRender Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in...

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

6448. laya.display.Input [ 24%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

6449. laya.display.Text [ 24%]

...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...

来源: laya_api 发布时间: 20170929

6450. laya.resource.Texture_API3.0 [ 24%]

...o create createFromTexture destroyUnusedResources Constructors constructor new Texture(source?: Texture | BaseTexture, uv?: ArrayLike<number>, sourceWidth?: number, sourceHeight?: number): Texture Overrides Resource.__constructor Defined in laya/resource/Texture.ts:228 创建一个 Texture 实...

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