大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
....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_文档 发布时间: 20251010
...例代码如下: **入口类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
...eScaleMode; import flash.events.Event; import flash.net.URLRequest; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); t...
来源: Laya_社区 发布时间: 20151123
...enu Globals "laya/d3/component/Volume/BatchVolume/BatchRender" BatchRender Class BatchRender 类用来描述合批的渲染节点 Hierarchy BaseRender BatchRender StaticInstanceBatchRender StatiVertexMergeBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveSha...
来源: Laya3.0_api 发布时间: 20231115
...() { this.world.step(1 / 60); } 再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = fals...
来源: Laya_社区 发布时间: 20200217