大约有 394 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0069 秒)
...关于遍历产生的sprite的点击事件,急,大神帮看哈 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Animation如何加点击事件 lh文件内meshSprite添加阴影属性无效 问题状态 最新活动: 2019-07-11 11:32 浏览: ...
来源: Laya_社区 发布时间: 20190711
... HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimi...
来源: Laya3.0_api 发布时间: 20231115
...amera: Laya.Camera = new Laya.Camera(0, 0.1, 1000); //加载到场景 this.scene.addChild(camera); //移动摄像机位置 camera.transform.position = new Laya.Vector3(-3, 1.5, 6); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-6, 0, 0), true, false); //设置摄像机视野范围...
来源: Laya_社区 发布时间: 20180910
...ioGroup Tab 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
...on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一次 Laya.stage.destroyChildren();出现异常。(引擎是最新的...
来源: Laya_社区 发布时间: 20170615
...信 jinqi166 赞同来自: for (var i=0;i<100;i++) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(xxxx)); //加载材质 layaMonkey.meshRender.material = mat; layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.707106...
来源: Laya_社区 发布时间: 20180329
...prite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALI...
来源: Laya3.0_api 发布时间: 20231115
...e Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...
来源: Laya3.0_api 发布时间: 20231115
...onstructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROLL SHRINK VISIBLE _passwordChar drawtocanvCtx langPacks Accessors _isHeightSet _isWidthSet active activeInHierarch...
来源: Laya3.0_api 发布时间: 20231115
...iAnimator = sp.getComponent(Laya.Animator); Laya.AnimationClip.load("res3d/scene/Assets/FBX/zj_nan_01/boy@animation-idle_show.lani",LayaWrap.creatHandlerCall(this,(aniClip)=>{ //创建动作状态 let state1 = new Laya.AnimatorState(); //动作名称 state1.name = "hello"; //动作播放起始时...
来源: Laya_社区 发布时间: 20190613