大约有 108 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...我们就可以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); la...
来源: Laya2.0_文档 发布时间: 20210715
...鼠标事件。 EventDispatcher load(url:String):Sprite3D[static] 加载网格模板,注意:不缓存。 Sprite3D loadHierarchy(url:String):void 加载层级文件,并作为该节点的子节点。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher ...
来源: laya_api 发布时间: 20170929
...鼠标事件。 EventDispatcher load(url:String):Sprite3D[static] 加载网格模板,注意:不缓存。 Sprite3D loadHierarchy(url:String):void 加载层级文件,并作为该节点的子节点。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher ...
来源: laya_api 发布时间: 20170603
...。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从...
来源: Laya2.0_api 发布时间: 20190513
...通过组件实现 7.1 Mesh精灵 Mesh精灵是引擎中最常用的 静态网格精灵,可根据于美术软件预制作或自定义的网格数据渲染模型。例如图7-1场景中的各种建筑模型、山体岩石一般均为Mesh精灵。 (图7-1) 通常我们在实践中会创建简单...
来源: Laya3.0_文档 发布时间: 20251010
...。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从...
来源: Laya2.0_api 发布时间: 20190513
...。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从...
来源: Laya2.0_api 发布时间: 20190513
...的地址,以字符串表示 九宫格 sizeGrid 背景图的有效缩放网格数据。数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分隔。例如:"4,4,4,4,1" 类型 type 输入框类型,共有...
来源: Laya3.0_文档 发布时间: 20251010
...。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从...
来源: Laya2.0_api 发布时间: 20190513
... = earthMat; })); ``` 效果如下(图3): (图3) #### 4. 网格加载 单个网格加载使用的 Mesh.load 方法。 ```typescript //加载Mesh Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(null, function(m...
来源: Laya2.0_文档 发布时间: 20210715