大约有 1,766 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(625) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...a.net.Loader; import laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Lay...
来源: Laya_社区 发布时间: 20161219
...访问到 UI3D, 再用 ui3d.sprite 获取 prefab 的根节点. export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3...
来源: Laya_社区 发布时间: 20251020
...备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", ...
来源: Laya3.0_文档 发布时间: 20250104
..."laya/d3/component/Volume/reflectionProbe/ReflectionProbe" ReflectionProbe Class ReflectionProbe ReflectionProbe 类用于实现反射探针组件 miner Hierarchy Volume ReflectionProbe Index Constructors constructor Properties _extra _isScene _singleton _updateMark owner runInEditor scriptPath TEMP...
来源: Laya3.0_api 发布时间: 20231115
... exported Menu Globals "laya/d3/core/render/ScreenTriangle" ScreenTriangle Class ScreenTriangle ScreenTriangle 类用于创建全屏三角形。 Hierarchy Resource ScreenTriangle Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpu...
来源: Laya3.0_api 发布时间: 20231102
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...
来源: Laya2.0_api 发布时间: 20190513
...n.ts`文件,在index.html中引用。编写以下代码: ```typescript class Main { constructor() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui....
来源: Laya2.0_文档 发布时间: 20210715
...ed Externals Only exported Menu Globals "laya/d3/math/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decompos...
来源: Laya3.0_api 发布时间: 20231102
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...
来源: laya_api 发布时间: 20170929
...ls Only exported Menu Globals "laya/physics/CircleCollider" CircleCollider Class CircleCollider 2D圆形碰撞体 Hierarchy ColliderBase CircleCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed ...
来源: Laya3.0_api 发布时间: 20231115