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

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

1. Sprite-旋转缩放 [ 100%]

...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_示例 发布时间: 20240930

2. Sprite-节点控制 [ 97%]

...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_示例 发布时间: 20240930

3. Sprite-轴心点 [ 97%]

...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_示例 发布时间: 20240930

4. Sprite-容器 [ 96%]

...; 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_示例 发布时间: 20240930