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

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

131. laya.display.Input [ 43%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也可以获取原始...

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

132. laya.ui.Label [ 43%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

133. laya.ui.ComboBox [ 42%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

134. laya.ui.Label [ 42%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也可以获取原始...

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

135. laya.ui.ScrollBar [ 42%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var sp:Sprite = new Sprite();//创建精灵 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也可以获取原始...

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

136. laya.ui.Button [ 42%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

137. laya.display.Input [ 42%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

138. laya.ui.List [ 40%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

139. laya.display.Stage [ 39%]

...: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(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_api 发布时间: 20170929

140. laya.d3.core.scene.Scene3D_API3.0 [ 37%]

... = Math.pow(2, 0) Defined in laya/d3/core/scene/Scene3D.ts:421 当前创建精灵所属遮罩层。 enableLight enableLight: boolean = true Defined in laya/d3/core/scene/Scene3D.ts:423 是否启用灯光。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/d...

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