• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 84 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

21. laya.d3.math.Matrix3x3_API3.0 [ 75%]

...r 旋转角度 out: Matrix3x3 输出矩阵 Returns void scale scale(scale: Vector2, out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:250 根据制定缩放3x3矩阵 Parameters scale: Vector2 缩放值 out: Matrix3x3 输出矩阵 Returns void translate translate(trans: Vector2, out: Matrix3...

来源: Laya3.0_api 发布时间: 20231102

22. 自定义shader-地形shader [ 74%]

...terrain/terrain/ground_04.jpg")); customMaterial.setDiffuseScale1(new Laya.Vector2(27.92727, 27.92727)); customMaterial.setDiffuseScale2(new Laya.Vector2(13.96364, 13.96364)); customMaterial.setDiffuseScale3(new Laya.Vector2(18.61818, 18.61818)); customMaterial.setDiffuseScale4(new Laya.Vector2(13.9...

来源: Laya_示例 发布时间: 20240930

23. 在代码新建b2Vec对象会导致编译阶段就出错 [ 73%]

...引用的b2Vec2是box2D库里面的变量类型,引擎提供的是Laya.Vector2,您将b2Vec2改为Laya.Vector2就可以了。   2023-11-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 誌偉王 相关问...

来源: Laya_社区 发布时间: 20231103

24. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 70%]

...                             transformUV.offset = new Vector2(0.099,0);                             mat.transformUV = transformUV;                         }                         var twoMc:MeshSprite3D = Sprite3D.instant...

来源: Laya_社区 发布时间: 20170311

25. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 69%]

...ly exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientDataVector2" GradientDataVector2 Class GradientDataVector2 GradientDataVector2 类用于创建二维向量渐变。 Hierarchy GradientDataVector2 Implements IClone Index Constructors constructor Accessors gradientCount Methods ad...

来源: Laya3.0_api 发布时间: 20231115

26. rigidBody.applyForce 物体不会移动 [ 68%]

...te pitch: number = 0; private animator: Laya.Animator; private point: Laya.Vector2 = new Laya.Vector2(); private _ray: Laya.Ray; private _outHitResult: Laya.HitResult; private text: Laya.Text = new Laya.Text(); constructor() { //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SC...

来源: Laya_社区 发布时间: 20200917

27. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 66%]

...r4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.6823, 0.6549, 0.6352), new Laya.Vector2(25.0, 25.0), "TERRAIN"); //setMeshParams(sprite, Laya.StandardMaterial.BLENDEQUATION_REVERSE_SUBTRACT, new Laya.Vector4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.6823, 0.6549, 0.6352), new Laya.Vector2(25.0, 25.0), "TER...

来源: Laya_社区 发布时间: 20170707

28. 2.0如何射线检测 [ 66%]

...接 提交 1 个回复 158*****364 赞同来自: this.mousePos = new Laya.Vector2(Laya.MouseManager.instance.mouseX, Laya.MouseManager.instance.mouseY); //鼠标点击屏幕产生射线         this.camera.viewportPointToRay(this.mousePos, this.ray);      var phy:Laya.PhysicsSimulation =...

来源: Laya_社区 发布时间: 20190505

29. android下layabox调用Laya.Texture2D.load报错 [ 65%]

...e; var transformUV = new Laya.TransformUV(); transformUV.tiling = new Laya.Vector2(2, 1); // transformUV.offset = new Laya.Vector2(0.1, 0.1); material.transformUV = transformUV; } return D3Helper.materialDic[name]; };   2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

来源: Laya_社区 发布时间: 20180206

30. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 65%]

....disVector1.y = touch.position.y - touch2.position.y; this.distance = Laya.Vector2.scalarLength(this.disVector1); this.first = false; } else{ this.disVector2.x = touch.position.x - touch2.position.x; this.disVector2.y = touch.position.y - touch2.position.y; var distance2 = Laya.Vector2.scalarLength(...

来源: Laya2.0_文档 发布时间: 20210715