大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...。window.Laya=window.Laya||{}; (function (exports, Laya) { 'use strict'; class Physics_Physics_CollisionFiltering { constructor() { this.preMovementX = 0; this.preMovementY = 0; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Phys...
来源: Laya2.0_示例 发布时间: 20250225
...; ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - WID * list.repeatY) / 2 - 100; list....
来源: Laya_社区 发布时间: 20170627
...,点击选择弹出框显示None,也无法拖放! 代码如下: @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property(String) public text: string = ""; @property(Laya.Image) public image: Laya.Image = null; ...
来源: Laya_社区 发布时间: 20230412
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 Label 组件的资源示例:  (图1) Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ![图片0....
来源: Laya2.0_文档 发布时间: 20210714
API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefi...
来源: Laya2.0_api 发布时间: 20190513
...Compile use time:4 size:167/407 laya.core.js:21110 Uncaught Can not find class laya.physics.BoxCollider 然后值引用下面这几个库,则报附件的图片错误:laya.d3.j;laya.html.js;laya.physics.js;laya.ui.js 附件 : --> 2020-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20200825
API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By ONE : Vector...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By ageAddScale...
来源: laya_api 发布时间: 20170929
...用的类,Laya.Templet 是用于处理资源 代码示例: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private mCurrIndex: number = 0; private mArmature: Laya.Skeleton; onStart() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loade...
来源: Laya3.0_文档 发布时间: 20240910
...例代码如下: **入口类GameMain.ts** ```typescript // 程序入口 class GameMain{ constructor() { //初始化引擎 Laya.init(1334,750,Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atla...
来源: Laya2.0_文档 发布时间: 20210715