大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0053 秒)
Laya3.0_api(429) Laya_社区(250) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(26) Laya2.0_示例(6) Laya_示例(6)
...加一个事件监听来跟踪上传过程。` | | ` withCredentials` | ` boolean` | 表明在进行跨站(cross-site)的访问控制(Access-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCredentia...
来源: Laya2.0_文档 发布时间: 20210714
...r, fillColor: any, lineColor: any = null, lineWidth: number = 1, percent?: boolean): DrawRectCmd { return this.addCmd(DrawRectCmd.create(x, y, width, height, fillColor, lineColor, lineWidth, percent)); } 代码示例: let sp = new Laya.Sprite(); //画矩形 sp.graphics.drawRect(20, 20, 100, 50, "#...
来源: Laya3.0_文档 发布时间: 20240910
...加一个事件监听来跟踪上传过程。` | | ` withCredentials` | ` boolean` | 表明在进行跨站(cross-site)的访问控制(Access-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCredentia...
来源: Laya2.0_文档 发布时间: 20210715
...添加一个事件监听来跟踪上传过程。` | | `withCredentials` | `boolean` | 表明在进行跨站(cross-site)的访问控制(Access-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCred...
来源: Laya2.0_文档 发布时间: 20210715
...cal 是否局部空间。 */ lookAt(target: Vector3, up: Vector3, isLocal: boolean = false, isCamera: boolean = true): void 同样,我们在3D-RPG项目中,通过鼠标点击来切换所见区域,代码如下: //CameraControll.ts类脚本中,添加3个节点对象,把3个不同的房子...
来源: Laya3.0_文档 发布时间: 20240910
...,这样只需要访问apk就可以解决了,安装apk: public static boolean install(Context context, String filePath) { Intent i = new Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && file.isFile(...
来源: Laya_社区 发布时间: 20160104
...atic instance: CommandBuffer_Outline ; private isUseOuline: boolean = true; // 控制是否使用描边 public static GetInstance(): CommandBuffer_Outline{ if(this.instance == null) this.instance = new CommandBuffer_Outline(); ...
来源: Laya_社区 发布时间: 20210203
...[static] 计算两个四元数的点积 Quaternion equals(b:Quaternion):BooleanQuaternion forNativeElement(nativeElements:Float32Array = null):voidQuaternion fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Quaternion getYawPitchRoll(out:Vector3):void 分解四元...
来源: Laya2.0_api 发布时间: 20190513
... 对象。 */ off(type: string, caller: any, listener: Function, onceOnly: boolean = false) 用于从事件分发器对象中删除侦听器: onDestroy(): void { //删除ui按钮的侦听 this.uiBtn.off(Laya.Event.CLICK, this); } 当这个场景删除销毁时,最好删除按钮的事件侦听...
来源: Laya3.0_文档 发布时间: 20240910
...[static] 计算两个四元数的点积 Quaternion equals(b:Quaternion):BooleanQuaternion getYawPitchRoll(out:Vector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度...
来源: laya_api 发布时间: 20170929