大约有 245 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
...ex = this.material.getTexture(); this.material.setTexture(tex); this.plane.active = true; // if(oldTex) // { // MeshPool.destoryRes(oldTex["keyUrl"],oldTex); // } }我所注视的就是上面在laya.3d.js 中出现的那个alert 的提示 我知道为什么 在native 会受到限制 但是在 we...
来源: Laya_社区 发布时间: 20190612
...景。 问题出现在把这些后加入的精灵移出场景或者active=false后,渲染就出问题了:被移出的精灵还显示着,但是ls场景中本来的某些精灵不显示了。但是debug看scene3D中的children里的元素还是正确的,那些被移除的精灵确实不在...
来源: Laya_社区 发布时间: 20190104
...stage.addChild(pNewScene); Util3d.getChildByPath(pNewScene, "Main Camera").active = false; let pBull = <Laya.Sprite3D>Util3d.getRes(this.sBullRes) let pEnemy = <Laya.Sprite3D>Util3d.getRes(this.sEnemyRes) pNewScene.addChild(pBull); pNewScene.addChild(pEnemy); let tPosBull = Util3d.getSpr...
来源: Laya_社区 发布时间: 20200720
...ed Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经...
来源: Laya2.0_api 发布时间: 20190513
...*/ static ENABLE_CHANGED: string; /** 定义 activeinhierarchychanged 事件对象的 type 属性值。*/ static ACTIVE_IN_HIERARCHY_CHANGED: string; /** 定义 componentadded 事件对象的 type 属性值。*/ static COMPON...
来源: Laya_社区 发布时间: 20170601
...ed Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node CURTIME : int[static] TrailSprite3D destroyed : Boolean = false[只读]是否已经销毁。...
来源: Laya2.0_api 发布时间: 20190513
...ited Public Constants Show Inherited Public Constants ConstantDefined By ACTIVE_IN_HIERARCHY_CHANGED : String = activeinhierarchychanged[static] 定义 activeinhierarchychanged 事件对象的 type 属性值。Event ADDED : String = added[static] 定义 added 事件对象的 type 属性值。Even...
来源: laya_api 发布时间: 20170929
...ed Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响...
来源: Laya2.0_api 发布时间: 20190513
...ed Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响...
来源: Laya2.0_api 发布时间: 20190513
...ed Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜...
来源: laya_api 发布时间: 20170929