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

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

1381. laya.map.TiledMap_API3.0 [ 50%]

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

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

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

...机添加了这个脚本。 (图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

1383. 关于项目分包的问题?? [ 50%]

...[SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(...

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

1384. 动画节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...中用代码对Animation进行控制了,示例代码如下: const { regClass, property } = Laya; @regClass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(...

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

1385. laya.physics.joint.WheelJoint_API3.0 [ 50%]

...nals Only exported Menu Globals "laya/physics/joint/WheelJoint" WheelJoint Class WheelJoint 轮子关节:围绕节点旋转,包含弹性属性,使得刚体在节点位置发生弹性偏移 Hierarchy JointBase WheelJoint Index Constructors constructor Properties _extra _singleton anchor axis co...

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

1386. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...代码如下: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ...

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

1387. laya.resource.PrefabImpl_API3.0 [ 50%]

...Externals Only exported Menu Globals "laya/resource/PrefabImpl" PrefabImpl Class PrefabImpl 预制体导入 Hierarchy Prefab PrefabImpl Index Constructors constructor Properties _id api data destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolut...

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

1388. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 50%]

...址](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?category=&class=_laya_d3_core_material_renderstate_.renderstate#srcblendrgb))。 ![](img/3.png) 框选部分为渲染状态,可以通过这些值修改渲染状态。 非框选部分为渲染状态枚举。 **注意**:如果设置...

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

1389. laya.d3.core.Avatar_API3.0 [ 50%]

...nherited Externals Only exported Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor Properties destoryedImmediately lock name url uuid AVATAR DEBUG Accessors cpuMemory destroyed gpuMemory i...

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

1390. 升级2.0以后,部分浏览器的兼容性很差 [ 50%]

...想放弃,就用2.2以下的引擎版本。 vincent • 2019-08-28 18:27 class TestSceneUI extends Scene { constructor() { super(); } createChildren() { super.createChildren(); this.loadScene("test/TestScene"); } } UC指这行报错,这个都是编译后的代码 addScore(value = 1) { ...

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