大约有 595 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
Laya_社区(200) Laya2.0_示例(114) Laya3.0_文档(99) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...节点后,加入下述代码,实现一个2D网格渲染器的效果: const { regClass, property } = Laya; @regClass() export class Mesh2DRender extends Laya.Script { @property({type: Laya.Sprite}) private layaMonkey: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 o...
来源: Laya3.0_文档 发布时间: 20251120
一个关于getPixels的问题 空工程中代码如下: Main.js: const Sprite = Laya.Sprite; const Text = Laya.Text; const Texture = Laya.Texture; Laya.init(800, 600); var txt = new Text(); txt.pos(200, 200); txt.color = "#FFFFFF"; txt.text = "000000"; Laya.stage.addChild(txt); var spr = n...
来源: Laya_社区 发布时间: 20190401
... Index | Frames No Frames SkyProceduralMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class SkyProceduralMaterialInheritanceSkyProceduralMaterial BaseMaterial laya.resource.Resource SkyProceduralMaterial 类用于实现SkyProceduralMaterial材质。 Public Pro...
来源: Laya2.0_api 发布时间: 20190513
...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
...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_示例 发布时间: 20260303
...ll Classes | Index | Frames No Frames TiledMapProperties | Methods | Constants Packagelaya.mapClasspublic class TiledMapInheritanceTiledMap Object tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)...
来源: laya_api 发布时间: 20170929
...ll Classes | Index | Frames No Frames TiledMapProperties | Methods | Constants Packagelaya.mapClasspublic class TiledMapInheritanceTiledMap Object tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)...
来源: Laya2.0_api 发布时间: 20190513
...是我裁切后的多边形位置点数据): 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
...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
...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