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

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

1591. laya.maths.Vector4_API3.0 [ 58%]

...nherited Externals Only exported Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo equal forNativeElement fromArra...

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

1592. 导航标签组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...。需要添加如下的示例代码,实现脚本控制Tab: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只...

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

1593. Laya.Sprite有instantiate或者类似接口吗 [ 58%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 3D项目里有没有类似2DTween的实现 希望加入类似Pixi.js的多纹理寄存器支持 问题状态 最新活动: 2017-07-09 10:58 浏览: 944 关注: 2 人

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

1594. hanzi 正则表达式无效 [ 58%]

...pression: /^[一-龥]$/: Range out of order in character class   测试地址: https://developers.facebook.com/tools/playable-preview/   测试文件在附件 附件 : --> facebook.rar 2019-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

1595. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 58%]

...口类GameMain.ts,编写如下代码:** ```typescript // 程序入口 class GameMain{ //资源路径 private skin1:string = "checkbox.png"; private skin2:string = "checkbox.png"; constructor() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(600,400,Laya.WebGL); //设置舞...

来源: Laya2.0_文档 发布时间: 20210715

1596. 材质-BlinnPhong材质加载 [ 58%]

... this, function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NON...

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

1597. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 58%]

..."laya/d3/component/Volume/BatchVolume/StaticBatchVolume" StaticBatchVolume Class StaticBatchVolume 类用来描述一个可合并渲染节点的体积 Hierarchy Volume StaticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMa...

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

1598. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 58%]

...bals "laya/d3/physics/constraints/ConstraintComponent" ConstraintComponent Class ConstraintComponent ConstraintComponent 类用于创建约束的父类。 Hierarchy Component ConstraintComponent ConfigurableConstraint FixedConstraint Index Constructors constructor Properties _extra _singleton disabl...

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

1599. laya.map.TiledMap_API3.0 [ 58%]

...nherited Externals Only exported Menu Globals "laya/map/TiledMap" TiledMap Class TiledMap tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)来处理显示对象,只显示在视口区域的区 每块又...

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

1600. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 58%]

...box.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存贮、重复使用。比较常用的是`对象池创建`方法`getItemByClass()`与`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。 ![1](img/1.png) (图1)对...

来源: Laya2.0_文档 发布时间: 20210715