大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0046 秒)
...例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 ...
来源: Laya3.0_文档 发布时间: 20250103
...接 提交 1 个回复 kylin 赞同来自: ResponerManager里有导出吗(export)? 2020-04-07 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 IXgSoul 相关问题 Layaair IDE的帧属性面板不见了 Layabox 2.0 bate5 运行编译之...
来源: Laya_社区 发布时间: 20200407
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/renders/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color Normalize...
来源: Laya3.0_api 发布时间: 20231115
...})();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOSCALE { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralR...
来源: Laya_示例 发布时间: 20250220
...})();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOBORDER { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantra...
来源: Laya_示例 发布时间: 20250220
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape Class SphereShape SphereShape 类用于创建球形粒子形状。 Hierarchy BaseShape SphereShape Implements IClone Index Constructor...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/HemisphereShape" HemisphereShape Class HemisphereShape HemisphereShape 类用于创建半球形粒子形状。 Hierarchy BaseShape HemisphereShape Implements I...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/TextureSheetAnimation" TextureSheetAnimation Class TextureSheetAnimation TextureSheetAnimation 类用于创建粒子帧动画。 Hierarchy TextureSheetAnimation Impl...
来源: Laya3.0_api 发布时间: 20231115
...})();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantral...
来源: Laya_示例 发布时间: 20250220
...})();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCan...
来源: Laya_示例 发布时间: 20250220