大约有 67 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
...,如果在其他地方监听,则必须处在Stage.focus的冒泡链上才能收到该事件。 用户可以通过代码 Laya.stage.focus=someNode 的方式来设置focus对象。 用户可统一的根据事件对象中 e.keyCode 来判断按键类型,该属性兼容了不同浏览器的实现...
来源: Laya3.0_api 发布时间: 20231102
...(使用WebAudio会增加特别大的内存,并且要等加载完毕后才能播放,有延迟) 建议背景音乐用mp3类型,音效用wav或者mp3类型(如果打包为app,音效只能用wav格式)。 详细教程及声音格式请参考:http://ldc2.layabox.com/doc/?nav=ch-as-1-7-0...
来源: Laya3.0_api 发布时间: 20231115
...放会倾斜,无法使用Vector3正确表示,必须使用Matrix3x3矩阵才能正确表示。 Returns Vector3 世界缩放。 globalToLocal globalToLocal(pos: Vector3, out: Vector3): void Defined in laya/d3/core/Transform3D.ts:849 转化成局部坐标 Parameters pos: Vector3 out: Vector3 Returns ...
来源: Laya3.0_api 发布时间: 20231115
...放会倾斜,无法使用Vector3正确表示,必须使用Matrix3x3矩阵才能正确表示。 Returns Vector3 世界缩放。 globalToLocal globalToLocal(pos: Vector3, out: Vector3): void Inherited from Transform3D.globalToLocal Defined in laya/d3/core/Transform3D.ts:849 转化成局部坐标 Para...
来源: Laya3.0_api 发布时间: 20231115
... 指定后,只有当服务器选择了其中的某个子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 see https://html.spec.whatwg.org/multipage/comms.html#dom-websocket Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/net/Socket.ts:43 主...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/ani/bone/Templet.ts:62 反转矩阵,有些骨骼动画要反转才能显示 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:19 是否开启debug模式 Static interpolation interpolation: any[] = [AnimationTemplet._LinearInterpolation...
来源: Laya3.0_api 发布时间: 20231115
...e.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使...
来源: Laya3.0_api 发布时间: 20231115
...e.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使...
来源: Laya3.0_api 发布时间: 20231115
...e.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使...
来源: Laya3.0_api 发布时间: 20231115
...e.ts:319 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:91 是否已经销毁。对象销毁后不能再使...
来源: Laya3.0_api 发布时间: 20231102