大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2)  (图3) ![图片0.p...
来源: Laya2.0_文档 发布时间: 20210715
...ce/kd.png", compassImg, degreesText, directionIndicator, firstTime = true; class InputDevice_Compass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(700, 1024, WebGL)...
来源: Laya2.0_示例 发布时间: 20250220
...a.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.color...
来源: Laya_示例 发布时间: 20250220
...打开链接查看:[https://layaair.ldc.layabox.com/api/?category=Bone&class=laya.ani.bone.Skeleton](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建 SpineDemo.js,代码编写如下: ```javascript //初...
来源: Laya2.0_文档 发布时间: 20210715
...ACING = 200, VERTICAL_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20250220
... 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 PhysicsProperties | Methods Packagelaya.physicsClasspublic class PhysicsInheritancePhysics EventDispatcher Object 2D物理引擎,使用Box2d驱动 Public Properties PropertyDefined By allowSleeping : Boolean 设置...
来源: Laya2.0_api 发布时间: 20190513
...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
...Only exported Menu Globals "laya/particle/ParticleSetting" ParticleSetting Class ParticleSetting ParticleSettings 类是粒子配置数据类 Hierarchy ParticleSetting Index Properties ageAddScale blendState boxEmitterCenterPosition boxEmitterSize boxEmitterVelocity boxEmitterVelocityAddVariance col...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientVelocityInheritanceGradientVelocity ObjectImplements laya.d3.core.IClone GradientVelocity 类用于创建渐变速...
来源: laya_api 发布时间: 20170929