大约有 2,948 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1046) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
API DocumentationAll Packages | All Classes | Index | Frames No Frames RandXProperties | Methods Packagelaya.d3.mathClasspublic class RandXInheritanceRandX Object Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Public Propertie...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames RandXProperties | Methods Packagelaya.d3.mathClasspublic class RandXInheritanceRandX Object Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
...打开链接查看:[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) 创建文档类DragonBonesDemo.as,代码编写如下: ```jav...
来源: Laya2.0_文档 发布时间: 20210714
...URL查看。 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Graphics](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Graphics)
来源: Laya2.0_文档 发布时间: 20210715
...URL查看。 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.display.Graphics](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Graphics)
来源: Laya2.0_文档 发布时间: 20210715
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_DrawPath { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.a...
来源: Laya2.0_示例 发布时间: 20241118
...nt = 100, extraSpace = 50, moveSpeed = 2, rotateSpeed = 2, characterGroup; class PerformanceTest_Cartoon { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas L...
来源: Laya2.0_示例 发布时间: 20241118
API DocumentationAll Packages | All Classes | Index | Frames No Frames ContactPointProperties | Methods Packagelaya.d3.physicsClasspublic class ContactPointInheritanceContactPoint Object ContactPoint 类用于创建物理碰撞信息。 Public Properties PropertyDefined By colliderA : P...
来源: Laya2.0_api 发布时间: 20190513
...enu Globals "laya/d3/core/particleShuriKen/module/shape/BoxShape" BoxShape Class BoxShape BoxShape 类用于创建球形粒子形状。 Hierarchy BaseShape BoxShape Implements IClone Index Constructors constructor Properties enable randomDirection shapeType x y z Methods clone cloneTo generatePositi...
来源: Laya3.0_api 发布时间: 20231115
...[], foods = [], initialSegmentsAmount = 5, vx = 0, vy = 0, targetPosition; class InputDevice_GluttonousSnake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支...
来源: Laya2.0_示例 发布时间: 20241118