大约有 84 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0047 秒)
...rt ShurikenParticleMaterial = Laya.ShurikenParticleMaterial; import Vector2 = Laya.Vector2; import Vector3 = Laya.Vector3; import Vector4 = Laya.Vector4; import Particle3...
来源: Laya_社区 发布时间: 20170605
...ra.transform.position, new Laya.Vector3(0, 0, 0)) let pointVec2 = new Laya.Vector2( ) pointVec2.x = Laya.MouseManager.instance.mouseX; pointVec2.y = Laya.MouseManager.instance.mouseY; this.sceneCamera.viewportPointToRay(pointVec2, this.originRay) // 摄像机发出射线检测的碰撞体 let camera...
来源: Laya_社区 发布时间: 20200617
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...e.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,Laya.stage.mouseY),this.ray) if(this.physics.rayCast(this.ray,this.hitInfo)){ console.log("检测到了") } } 2019-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190621
...例。 Hierarchy Keyframe FloatKeyframe QuaternionKeyframe Vector3Keyframe Vector2Keyframe Vector4Keyframe Implements IClone Index Constructors constructor Properties time defaultWeight Methods clone cloneTo Constructors constructor new Keyframe(): Keyframe Defined in laya/d3/core/Keyframe.ts:19 创...
来源: Laya3.0_api 发布时间: 20231115
...----- | | setVectorArray() | Vector4 | | setVectorArray() | Vector3 | | setVector2Array() | Vector2 | | setNumberArray() | number | 当我们想渲染每一个Mesh的时候,就需要传入一个不同的颜色,而每一个颜色是一个Vector4的属性。 所以我们要传入一个Vector4的...
来源: Laya2.0_文档 发布时间: 20210714
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...per(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.isAlpha = true; Laya3D.init(0, 0, config3D); Laya.stage.scaleMode = Laya.Stage....
来源: Laya_社区 发布时间: 20200903
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115