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

大约有 532 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

101. laya.d3.math.Vector3 [ 79%]

...All Classes | Index | Frames No Frames Vector3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By  elements : Float32Array三维向...

来源: laya_api 发布时间: 20170929

102. 鼠标交互-拖动 [ 79%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。const ApePath = "res/apes/monkey2.png"; let dragRegion; class Interaction_Drag { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebG...

来源: Laya2.0_示例 发布时间: 20240930

103. laya.map.TiledMap [ 79%]

...ll Classes | Index | Frames No Frames TiledMapProperties | Methods | Constants Packagelaya.mapClasspublic class TiledMapInheritanceTiledMap Object tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)...

来源: laya_api 发布时间: 20170929

104. laya.map.TiledMap [ 79%]

...ll Classes | Index | Frames No Frames TiledMapProperties | Methods | Constants Packagelaya.mapClasspublic class TiledMapInheritanceTiledMap Object tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)...

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

105. 裁切图片后,该用什么方式去重绘出裁切后的图片 [ 78%]

...是我裁切后的多边形位置点数据): draw() {         const pp = this.owner.getComponent(Laya.PolygonCollider).points;         let points = this.pointS_to_pointA(pp)         let owner: Laya.Sprite = this.owner as Laya.Sprite         const ctx...

来源: Laya_社区 发布时间: 20200428

106. laya.d3.math.MathUtils3D [ 78%]

...kages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods  MethodDefined By  MathUtils3D() 创建一个 MathUtils 实例。 MathUtils3D...

来源: laya_api 发布时间: 20170929

107. laya.d3.math.MathUtils3D [ 78%]

...kages | All Classes | Index | Frames No Frames MathUtils3DMethods | Constants Packagelaya.d3.mathClasspublic class MathUtils3DInheritanceMathUtils3D Object MathUtils 类用于创建数学工具。 Public Methods  MethodDefined By  MathUtils3D() 创建一个 MathUtils 实例。 MathUtils3D...

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

108. UI-Input [ 78%]

...); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i ; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...

来源: Laya_示例 发布时间: 20240930

109. 输入设备-指南针 [ 78%]

...eesText, 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); Laya.stage.alignV = Stage....

来源: Laya2.0_示例 发布时间: 20240930

110. 滤镜-发光滤镜 [ 78%]

...发更高效。let apePath = "res/apes/monkey2.png"; class Filters_Glow { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...

来源: Laya2.0_示例 发布时间: 20240930