大约有 332 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(165) Laya3.0_api(81) laya_api(28) Laya3.0_文档(19) Laya2.0_文档(18) Laya2.0_api(17) Laya_示例(4)
...tionAll Packages | All Classes | Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用...
来源: Laya2.0_api 发布时间: 20190513
添加继承自Laya.Sprite3D脚本的节点移除时调用了两次onDisable 最近在学习做3d的小游戏,预制从unity导入。我自定义了一个继承自Laya.Sprite3D。使用Laya.Sprite3D.instantiate实例化,并addComponent自定义的类;添加到场景中,再移除;移除时...
来源: Laya_社区 发布时间: 20200623
...ants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean ...
来源: Laya2.0_api 发布时间: 20190513
...目标物体添加上描边 */ public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{ if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); ...
来源: Laya_社区 发布时间: 20210203
为什么Sprite3D.name 都是"" 呢? 那getChildByName还有什么用?? 为什么Sprite3D.name 都是"" 呢? 那getChildByName还有什么用?? unity导出来的 .ls 里的sprite3D name不是空的 [而且也不会有人把unity里的gameObject名字去每个都改成""吧] 附件 : --> 2...
来源: Laya_社区 发布时间: 20171221
...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Nod...
来源: Laya2.0_api 发布时间: 20190513
...orm3D localScale : Vector3 获取局部缩放。 Transform3D owner : Sprite3D[read-only] 获取所属精灵。 Transform3D parent : Transform3D 获取父3D变换。 Transform3D pivot : Vector3 变换中心点,注意:该中心点不受变换的影响。Transform3D position : Vector3 ...
来源: laya_api 发布时间: 20170929
...不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.trans...
来源: Laya_社区 发布时间: 20180327
销毁或移除sprite3D后再次生成的问题 销毁或移除sprite3D (路径下的资源),之后重新sprite3D.load(原先资源) 最后在添加到scene时报错了,提示说添加的不是sprite3D类型,这个是为什么,有啥解决方案 2017-08-02 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170802
...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...
来源: Laya3.0_文档 发布时间: 20251010