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

大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)

251. laya.d3.physics.ContactPoint [ 87%]

... Public Properties PropertyDefined By  colliderA : PhysicsComponent = null碰撞器A。ContactPoint  colliderB : PhysicsComponent = null碰撞器B。ContactPoint  distance : Number = 0距离。ContactPoint  normal : Vector3法线。ContactPoint  positionOnA : Vector3碰撞器A的碰撞点...

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

252. Timer.clear 方法有问题 [ 87%]

...域和方法都一样呢,如下: Laya.Timer.loop(100, this, this.fun, null, false); Laya.Timer.loop(200, this, this.fun, null, false); Laya.Timer.loop(300, this, this.fun,  null, false); 上面的代码应该是给this增加了3个定时器吧 2018-07-19 0 0 分享 微博 QZONE 微信 Laya_Aaro...

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

253. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 87%]

...Collider(this);     }     _parse(data) {         (data.friction != null) && (this.friction = data.friction);         (data.rollingFriction != null) && (this.rollingFriction = data.rollingFriction);         (data.restitution != null) && (this.restitution = data...

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

254. laya.display.cmd.DrawTextureCmd_API3.0 [ 87%]

...rawTextureCmd.ts:42 (可选)透明度。 blendMode blendMode: string | null Defined in laya/display/cmd/DrawTextureCmd.ts:50 (可选)混合模式。 color color: number = 4294967295 Defined in laya/display/cmd/DrawTextureCmd.ts:46 (可选)颜色滤镜。 height height: number Defined in ...

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

255. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 87%]

...创建命令流 Parameters source: BaseTexture 原始贴图 如果设置为null 将会使用默认的Camera流程中的原RenderTexture dest: RenderTexture 目标贴图 如果设置为null,将会使用默认的camera渲染目标 Default value offsetScale: Vector4 = null 偏移缩放 Default value ...

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

256. as中BoxCollider引入了,但是运行的时候还是提示null [ 87%]

as中BoxCollider引入了,但是运行的时候还是提示null 之前用js写,根本引入不了BoxCollider这个类,换成as,好像还是出了一样的问题,有大神帮忙解答一下吗? 为什么会这样呢? 附件 : --> 2017-12-20 添加评论 免费帖 --> 分享 微博 QZON...

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

257. laya.utils.Pool [ 87%]

...型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Pool  getItemByClass(sign:String, cls:Class):*[static] 根据传入的对象类型标识字符,获取对象池中此类型标识的一个对象实例。 当对象池中无此类型标识的对象时,则根据传...

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

258. Laya中Button等组件lose skin的问题 [ 87%]

...,type:Laya.Loader.IMAGE} ];  Laya.loader.load(resArr, Laya.Handler.create(null, onLoaded));  function onLoaded(): void {     Laya.URL.basePath ="https://xxx.com/";     //实例UI界面     var Main: MenuPageUI = new MenuPageUI();     Laya.stage.addChild(Main); } 在我找原因的...

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

259. 获取位置信息 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...拔高度(米)。如果设备不提供海拔数据,altitude 的值为null。 accuracy —— 返回经纬度的精度,以米为单位。 altitudeAccuracy —— 返回海拔的精度,以米为单位。altitudeAccuracy 可能为null。 heading —— 返回设备的移动方向(角度)...

来源: Laya3.0_文档 发布时间: 20251010

260. laya.display.cmd.FillTextCmd_API3.0 [ 86%]

...到对象池 Returns void Static create create(text: string | WordText | null, x: number, y: number, font: string, color: string | null, align: string, stroke: number, strokeColor: string | null): FillTextCmd Defined in laya/display/cmd/FillTextCmd.ts:61 Parameters text: string | WordText | null x: ...

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