大约有 394 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0069 秒)
...ox = new Laya.MeshSprite3D(new Laya.BoxMesh(1,1,1)); //将3D对象加载到scene中(一定要加入到场景) Scene3DManager.getInstance().nowScene.addChild( box ); this._ani.linkSprite3DToAvatarNode("RHand",box); linkSprite3DToAvatarNode 这个借口会报错,, throw("Animator:sprite3D must...
来源: Laya_社区 发布时间: 20181010
...alogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY ble...
来源: Laya3.0_api 发布时间: 20231115
...相关操作忽略 var heightMap:Texture2D = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Texture2D; //初始化MeshTerrainSprite3D terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 1...
来源: Laya2.0_文档 发布时间: 20210714
... 纹理截取后内存释放不了 WorkerLoader内存泄漏 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! Laya.Panel的子节点在(0,0)点有可能不显示的问题 问题状态 最新活动: 2018-06-25 14:24 浏览: 1494 关注: 2 人
来源: Laya_社区 发布时间: 20180623
...们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建...
来源: Laya2.0_文档 发布时间: 20210715
...ex; this.playStateInfo.playState = playstate; this._label = animator.owner.scene.scene2D.getChildByName("Label"); } constructor() { super(); } /** * 动画状态开始时执行。 */ onStateEnter(): void { console.log("动画开始播放了"); this._label.text = "开始跑动画"; } /** * 动画状...
来源: Laya3.0_文档 发布时间: 20240910
...nt ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX centerY co...
来源: Laya3.0_api 发布时间: 20231115
...ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs ce...
来源: Laya3.0_api 发布时间: 20231115
...存并F12导出。如下图所示。  第二步,选中Scene场景,创建一个空类,按下图所示,将该类拖入到场景的runtime属性栏上,然后保存并F12导出。  第三步,打开刚刚创建的类,继承该场景页,并编写位图...
来源: Laya2.0_文档 发布时间: 20210715
... RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX center...
来源: Laya3.0_api 发布时间: 20231115