大约有 951 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
...,直接采用Object Hierarchy WeakObject Index Constructors constructor Properties I delInterval supportWeakMap Methods del get has set clearCache Constructors constructor new WeakObject(): WeakObject Defined in laya/utils/WeakObject.ts:37 Returns WeakObject Properties Static I I: WeakObject Defin...
来源: Laya3.0_api 发布时间: 20231115
...ationAll Packages | All Classes | Index | Frames No Frames TerrainResProperties | Methods Packagelaya.d3.terrainClasspublic class TerrainResInheritanceTerrainRes laya.resource.Resource TerrainRes 类用于描述地形信息。 Public Properties PropertyDefined By _alphaMaps : Vector.<...
来源: Laya2.0_api 发布时间: 20190513
LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...
来源: Laya_社区 发布时间: 20171124
...证一个Message对象是否满足有效消息的要求。 Message.create(properties: Object): Message 对满足有效消息要求的一组Javascirpt数据创建新消息实例。 Message.encode(message: Message|Object , writer: Writer): Writer 对Message对象进行编码,用于网络通信传输...
来源: Laya3.0_文档 发布时间: 20250104
...nAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties...
来源: Laya2.0_api 发布时间: 20190513
...misphereShape SphereShape Implements IClone Index Constructors constructor Properties enable randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new BaseShape(): BaseShape Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:31 创建...
来源: Laya3.0_api 发布时间: 20231115
2D网格渲染器一、简介二、在LayaAir-IDE中使用2.1 材质2.2 网格2.3 纹理与颜色2.4 平铺偏移三、通过代码使用2D网格渲染器 一、简介 2D网格渲染器(Mesh2DRender)用于在2D场景中显示和渲染2D网格,支持纹理渲染,可以设置渲染颜色,...
来源: Laya3.0_文档 发布时间: 20251120
... Laya Hierarchy MeshData SkinMeshForGraphic Index Constructors constructor Properties canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructors constructor new SkinMeshForGraphic(): SkinMeshForGraphic Defined in laya/ani/bone/canvasmesh/Skin...
来源: Laya3.0_api 发布时间: 20231115
分享 Laya2.0 的3d截图 前段时间搞抖音3d小游戏,有一个截图的需求,才发现2d的截图不能用于3d截图,在论坛上也没有看到解决方案,昨天尝试了下最后出了解决方案,在这里分享下,直接上代码了 shot_4_4_4_4():void{ let...
来源: Laya_社区 发布时间: 20200815
使用3D精灵(Sprite3D)一、概述二、属性和功能2.1 节点的名字2.2 是否激活2.3 是否为静态2.4 蒙版层2.5 变换三、子父级关系四、克隆五、添加组件六、添加脚本七、各种渲染精灵简介7.1 Mesh精灵7.2 SkinnedMesh精灵7.3 Particle3D 精灵7.4 Pi...
来源: Laya3.0_文档 发布时间: 20251010