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

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

1. laya.d3.utils.Picker [ 100%]

...Picker() 创建一个 Picker 实例。 Picker  calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out:Ray):void[static] 计算鼠标生成的射线。 Picker  rayIntersectsPositionsAndIndices(ray:Ray, vertexDatas:Float32Array, ...

来源: laya_api 发布时间: 20170929

2. laya.d3.utils.Picker [ 98%]

...Picker() 创建一个 Picker 实例。 Picker  calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out:Ray):void[static] 计算鼠标生成的射线。 Picker  rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, ver...

来源: Laya2.0_api 发布时间: 20190513

3. laya.d3.utils.Picker_API3.0 [ 87%]

...Returns Picker Methods Static calculateCursorRay calculateCursorRay(point: Vector2, viewPort: Viewport, projectionMatrix: Matrix4x4, viewMatrix: Matrix4x4, world: Matrix4x4, out: Ray): void Defined in laya/d3/utils/Picker.ts:35 计算鼠标生成的射线。 Parameters point: Vector2 鼠标位置。...

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

4. 加载.lh文件 运行后黑屏 无法显示 [ 82%]

...;     private rotation:Laya.Vector3;     private lastPosition:Laya.Vector2;     private distance:number = 0.0;     private disVector1:Laya.Vector2;     private disVector2:Laya.Vector2;     private isTwoTouch:boolean;     private first:boolean;     private twoFirst:boo...

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

5. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 82%]

...;     private rotation:Laya.Vector3;     private lastPosition:Laya.Vector2;     private distance:number = 0.0;     private disVector1:Laya.Vector2;     private disVector2:Laya.Vector2;     private isTwoTouch:boolean;     private first:boolean;     private twoFirst:boo...

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

6. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 82%]

...     this.camera = null;         this.lastPosition = new Laya.Vector2(0, 0);         this.distance = 0.0;         this.disVector1 = new Laya.Vector2(0, 0);         this.disVector2 = new Laya.Vector2(0, 0);         this.isTwoTouch = false;         ...

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

7. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 75%]

...osition.x; disVector1.y = touch.position.y - touch2.position.y; distance = Vector2.scalarLength(disVector1); first = false; } else{ disVector2.x = touch.position.x - touch2.position.x; disVector2.y = touch.position.y - touch2.position.y; var distance2:Number = Vector2.scalarLength(disVector2); //根...

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

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

....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

9. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 75%]

....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

10. laya.d3.core.light.AreaLightCom_API3.0 [ 64%]

...:59 面光类型 Parameters value: AreaShape Returns void size get size(): Vector2 set size(value: Vector2): void Defined in laya/d3/core/light/AreaLightCom.ts:81 面光大小 Returns Vector2 Defined in laya/d3/core/light/AreaLightCom.ts:77 面光大小 Parameters value: Vector2 Returns void spread ...

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