大约有 400 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
...Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMateri...
来源: Laya2.0_文档 发布时间: 20210715
...ors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFr...
来源: Laya3.0_api 发布时间: 20231115
... { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.li...
来源: Laya_社区 发布时间: 20180724
...录 发起人 winderwan 相关问题 unity导出粒子文件问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 ios14系统下 blendMode='lighter' 图片异常 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,...
来源: Laya_社区 发布时间: 20161211
...比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull.lh" private sEnemyRes = "remote/m...
来源: Laya_社区 发布时间: 20200720
....init(); this.camera = InsManager.GetInstance()._SceneManager.player.playerCamera; //Laya.Shader3D.debugMode = true; } } public createDrawMeshCommandBuffer(camera:Laya.Camera, renders:Laya.BaseRender[] , materi...
来源: Laya_社区 发布时间: 20210203
.../ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的大概念。所以在3.0里请忽略这个继承。 Hierarchy Scene View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseU...
来源: Laya3.0_api 发布时间: 20231115
...• 2020-06-15 17:58 @189*****909: //预加载所有资源 var resource = [sceneUrl]; Laya.loader.create(resource, Handler.create(this, this.onComplete3D, [onProloadComplete]), new Handler(this, this.progressFun, null, false)); this.scene3d = Loader.getRes(sceneUrl) as Scene3D; Laya.stage.addChild(t...
来源: Laya_社区 发布时间: 20200609
Unity导出粒子特效,到laya变成纯黑色 Laya.Scene3D.load("res/unity1/Conventional/GameScene.lh", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(this.m_scene); })); 附件 : --> EffectComplete.unitypackage_.zip 2020-06-30 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20200630
...ght PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDept...
来源: Laya3.0_api 发布时间: 20231115