大约有 1,719 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1434) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(41) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 角色,放几个技能后内存从 60 M 长到 90M,清理后,内存没下降。 清理方法 override public function destroy(destroyChild:Boolean = true):void { if...
来源: Laya_社区 发布时间: 20180517
...tationAll Packages | All Classes | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类用于像素...
来源: Laya2.0_api 发布时间: 20190513
....d3.terrainClasspublic class TerrainChunkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...ort { ui } from "./../ui/layaMaxUI"; import Scene3D = Laya.Scene3D; import Sprite3D = Laya.Sprite3D; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方式,继承式...
来源: Laya_社区 发布时间: 20190618
...加装饰器暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露的属性入口,即可用代码控制Cube节点了。 1. 平移变换 平移变换的定义如下: /** * 平移变换。 * @param t...
来源: Laya3.0_文档 发布时间: 20251010
...ckagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: Laya2.0_api 发布时间: 20190513
...or = new Laya.Vector3(0.7, 0.6, 0.6); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, ...
来源: Laya_示例 发布时间: 20251130
....addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NO...
来源: Laya_示例 发布时间: 20251130
...用于创建简单网格 注意:这里还不是最终场景中看到的 Sprite3D。 用 createBox 来举例,看下API是如何创建网格的: /** * 创建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, ...
来源: Laya3.0_文档 发布时间: 20251010
...Show Inherited Public Properties PropertyDefined By bones : Vector.<Sprite3D>[read-only] 用于蒙皮的骨骼。 SkinnedMeshRenderer bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable ...
来源: Laya2.0_api 发布时间: 20190513