大约有 1,753 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1324) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(37) Laya_示例(24) Laya2.0_示例(3)
...的2D着色器材质,不设置引擎会使用默认材质 线段数据(positions) 每一组数据代表2D节点上的一条线段,其中 X,Y 值为线段的起点,Z,W 值为线段的终点。开发者也可以在编辑2D线段状态下可视化的编辑线段的起点与终点。 线段宽度(...
来源: Laya3.0_文档 发布时间: 20251010
...Engine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignore...
来源: Laya_社区 发布时间: 20180125
...ation 然后点ctrl+6 看有没有我们不支持的节点 目前只支持 position rotation scale Three laya写完代码运行后发现场景中有两个模型 这个问题是因为 unity插件把 unity中的摄像机也导出来了 然后laya中又用代码创建了一个摄...
来源: Laya_社区 发布时间: 20180308
... 1); //设置点光源的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLight Direction Light(平行光)与点光区别较大,它有固定的一个方向,可通过弧度值设定,并且也没有衰减和光照范围,会对全场...
来源: Laya3.0_文档 发布时间: 20251010
...r identity invert isIdentity normalize setElementByRowColumn setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspective createPerspectiveOffCenter createRotationAxis createRotationQua...
来源: Laya3.0_api 发布时间: 20231102
...veMesh.createPlane())) as Laya.MeshSprite3D; this.box = box; box.transform.position = new Laya.Vector3(0.0, 0.0, 0); box.transform.rotate(new Laya.Vector3(90, 0, 0), false, false); Laya.loader.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event....
来源: Laya_社区 发布时间: 20220815
...toSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage...
来源: Laya3.0_api 发布时间: 20231115
...ERMODE_MESH varying vec4 v_MeshColor; #endif #ifdef FOG varying vec3 v_PositionWorld; uniform vec3 u_CameraPosition; uniform float u_FogStart; uniform float u_FogRange; #ifdef ADDTIVEFOG #else uniform vec3 u_FogColor; #endif #endif void main() { #ifdef RENDERMODE_MESH gl_Fr...
来源: Laya_社区 发布时间: 20190802
...传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 请问在layaIDE里,怎么调用微信小程序API 微信小游戏:HTMLDivElement的使用 Laya中的宏编译要怎么用啊 分...
来源: Laya_社区 发布时间: 20200325
...据角色位置计算射线原点 Laya.Vector3.add(ownerSprite3D.transform.position,new Laya.Vector3(speedX,2,speedZ),rayOrigin); //射线原点位置更新 this.ray.origin = rayOrigin; //物理射线与碰撞器相交检测 Laya.Physics.rayCast(this.ray,this.outHitInfo,5); //-----------------------...
来源: Laya_社区 发布时间: 20171113