大约有 55 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0028 秒)
...ya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { <em>privateem> ape: Sprite; <em>privateem> scaleDelta: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.al...
来源: Laya_示例 发布时间: 20241123
... = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { <em>privateem> colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; <em>privateem> colorCount:number = 0; <em>privateem> isDown:Boolean = false; <em>privateem> path:Array = []; <em>privateem> color:String = this.colors[0]; <em>privateem> liveGraphi...
来源: Laya_示例 发布时间: 20241123
... = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { <em>privateem> colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; <em>privateem> colorCount:number = 0; <em>privateem> isDown:Boolean = false; <em>privateem> path:Array = []; <em>privateem> color:String = this.colors[0]; <em>privateem> liveGraphi...
来源: Laya2.0_示例 发布时间: 20241123
...Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { <em>privateem> ape1: Sprite; <em>privateem> ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = St...
来源: Laya_示例 发布时间: 20241123
...ser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { <em>privateem> sp1: Sprite; <em>privateem> sp2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stag...
来源: Laya_示例 发布时间: 20241123
...; export class Sprite_Container { // 该容器用于装载4张猩猩图片 <em>privateem> apesCtn: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; L...
来源: Laya_示例 发布时间: 20241123
...ya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { <em>privateem> ape: Sprite; <em>privateem> scaleDelta: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.al...
来源: Laya2.0_示例 发布时间: 20241123
...ya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { <em>privateem> var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一个动画 var ani:Animation = ...
来源: Laya2.0_文档 发布时间: 20210714
...ya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { <em>privateem> var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一个动画 var ani:Animation = ...
来源: Laya2.0_文档 发布时间: 20200929
...Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { <em>privateem> ape1: Sprite; <em>privateem> ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = St...
来源: Laya2.0_示例 发布时间: 20241123