• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)

551. laya.display.cmd.TranslateCmd [ 76%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TranslateCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class TranslateCmdInheritanceTranslateCmd Object 位移命令 Public Properties PropertyDefined By  tx : Number 添加到水平坐标(...

来源: Laya2.0_api 发布时间: 20190513

552. laya.d3.math.RandX [ 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

553. laya.d3.math.RandX [ 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...

来源: Laya2.0_api 发布时间: 20190513

554. 输入设备-贪吃蛇(重力感应) [ 76%]

...[], 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_示例 发布时间: 20260303

555. Sprite-根据数据绘制路径 [ 76%]

...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_示例 发布时间: 20260303

556. 性能测试-卡通人物 [ 76%]

...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_示例 发布时间: 20260303

557. 矢量绘图API概述(JavaScript-LayaAir基础篇(JS)-矢量图) [ 76%]

...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

558. 矢量绘图API概述(TypeScript-LayaAir基础篇(TS)-矢量图) [ 76%]

...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

559. laya.d3.core.particleshuriken.module.shape.BoxShape_API3.0 [ 76%]

...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

560. laya.d3.graphics.VertexElementFormat_API3.0 [ 76%]

...ed Menu Globals "laya/d3/graphics/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods...

来源: Laya3.0_api 发布时间: 20231102