大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0121 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...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
...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
...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
...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
...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
...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
...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
...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
...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
...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