大约有 1,194 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0046 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
... new Laya.CapsuleColliderShape(0.5, 1); sphereShape.localOffset = new Laya.Vector3(0, 0.3, 0); this.characterController.colliderShape = sphereShape; this.characterController.gravity = new Laya.Vector3(0, -1, 0); this.characterController.restitution = 0; //弹力 在onUpdate 或者用timer驱...
来源: Laya_社区 发布时间: 20190626
...要怎么操作 013 • 2020-03-30 17:01 同问,偏差的非常大 let vectory = new Laya.Vector3(30,0,0); this.rigidbody.linearVelocity = vectory; console.log(this.rigidbody.linearVelocity); 获取得到的值确是 Vector3 {x: -0.20082436501979828, y: 0, z: 0.20082436501979828} z轴分量应该...
来源: Laya_社区 发布时间: 20181022
...回调中进行位置和大小改变 this.lz.transform.position = new Laya.Vector3(1000, 1000, 1000); this.lz.transform.localScale = new Laya.Vector3(3, 3, 3); 并且确实改变了对应的值。但是渲染的效果并没有变化 附件 : --> LayaScene_Effect.rar effect.rar WebGame.rar 2018-03-27...
来源: Laya_社区 发布时间: 20180327
...a (UnityEngine.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, Boolea...
来源: Laya_社区 发布时间: 20180308
...l Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector4" ConchVector4 Class ConchVector4 Vector4 类用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Index Constructors constructor Properties elements ONE UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Me...
来源: Laya3.0_api 发布时间: 20231102
...1);\n" + "};"; this._setColor(Laya.VertexElementUsage.STARTCOLOR0,new Laya.Vector4(1,0,0,1)); this._setColor(Laya.VertexElementUsage.ENDCOLOR0,new Laya.Vector4(0,0,1,1)); var customShader = Laya.Shader3D.nameKey.add("GradientShader"); Laya.ShaderCompile3D.add(customShader, vs, ps, attributeMap, unif...
来源: Laya_社区 发布时间: 20180316
........... if (e.keyCode == 97) { // console.log("a"); let newPos = new Laya.Vector3(this.block.transform.position.x + 0.1, this.block.transform.position.y, this.block.transform.position.z); console.log(newPos.x); this.block.transform.position = newPos; } else if (e.keyCode == 100) { // console.log('d...
来源: Laya_社区 发布时间: 20171228
...600df769>:0) o.a (UnityEngine.GameObject A_0, c A_1, c A_2, UnityEngine.Vector3 A_3, UnityEngine.Quaternion A_4, UnityEngine.Vector3 A_5, System.String& A_6) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObject A_0, System.String A_1, c A_2, System.Boolean A_3, System.B...
来源: Laya_社区 发布时间: 20201230
...Script)的prop其中几个类型应该怎么设置 SNumber,Res,Runtime,Vec,Vector,ActionButton 这几个类型做测试都失败了,想问一下这几个类型改怎么使用,有没有范例 我这里提供一下其他的类型的范例供大家参考 export default class TestScript extends L...
来源: Laya_社区 发布时间: 20181215
...s:19 是否开启UniformBuffer Static lightClusterCount lightClusterCount: Vector3 = new Vector3(12, 12, 12) Defined in Config3D.ts:47 X、Y、Z轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster...
来源: Laya3.0_api 发布时间: 20231115