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

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

2961. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 26%]

...omponent = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgen...

来源: Laya3.0_文档 发布时间: 20251010

2962. laya.ui.List [ 26%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列...

来源: laya_api 发布时间: 20170929

2963. laya.display.Animation [ 25%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基...

来源: laya_api 发布时间: 20170929

2964. laya.ui.Button_API3.0 [ 25%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码...

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

2965. 缓存工具-layadcc · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...box/layadcc2.git 分支:dccplugin LayaDCCClient的接口定义: export class LayaDCCClient{ onlyTransUrl:boolean; //映射到dcc目录的地址头,如果没有,则按照http://*/算,所有的请求都裁掉主机地址 pathMapToDCC:string; /** * * @param frw 文件访问接口,不同的...

来源: Laya3.0_文档 发布时间: 20251010

2966. laya.ui.CheckBox_API3.0 [ 25%]

...Inherited Externals Only exported Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的...

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

2967. laya.display.Stage [ 25%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞...

来源: laya_api 发布时间: 20170929

2968. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

... UniformBuffer 来优化渲染性能。 脚本代码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //共享材质,用于合批 public batchMat: Laya.Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNums = 200; pri...

来源: Laya3.0_文档 发布时间: 20251010

2969. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 25%]

...nu Globals "laya/d3/core/material/PBRStandardMaterial" PBRStandardMaterial Class PBRStandardMaterial PBRStandardMaterial 类用于实现PBR材质。 Hierarchy PBRMaterial PBRStandardMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue ur...

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

2970. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...机添加了这个脚本。 (图6-2) 脚本的代码为: const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: num...

来源: Laya3.0_文档 发布时间: 20251010