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

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

1241. laya.physics.joint.PrismaticJoint_API3.0 [ 31%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, ...

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

1242. laya.physics.BoxCollider_API3.0 [ 31%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...

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

1243. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 31%]

...除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效...

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

1244. laya.physics.PolygonCollider_API3.0 [ 31%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...

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

1245. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 31%]

...除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效...

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

1246. laya.d3.physics.PhysicsComponent_API3.0 [ 31%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/compone...

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

1247. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 31%]

...github.com/davidshimjs/qrcodejs)。 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考[地址](https://github.com/davidshimjs/qrcodejs)。具体的逻辑代码如下: ```typescript //初始化引擎 Laya.init(600,400); Laya.stage.bgColor = "#ffcccc"; var div = La...

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

1248. laya.physics.ChainCollider_API3.0 [ 31%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...

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

1249. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 31%]

...件的基类 Component。在LayaAirIDE中,我们可以直接为UI组件添加刚体组件。如下图1所示。 ![图1](img/1.png) (图1) ##### 刚体类型 `type` 基于理论力学的理论基础,box2D物理引擎的刚体类型(type)分为:静力学类型`static`、动力学类型`dynamic`...

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

1250. 动态图集 · LayaAir3.4 · 引擎文档 · LAYABOX [ 30%]

动态图集一、概述二、使用动态图集2.1 创建管理器2.2 添加纹理到图集2.3 移除纹理2.4 手动替换纹理2.5 查询纹理信息2.6 统计与监控2.7 清理与销毁三、使用建议动态图集 一、概述 图集(Atlas)是一种将多张小纹理整合为一张大纹...

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