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

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

221. [LayaAir2]字节小游戏物理的坐标不一样,碰撞盒会比laya的小,物理的位置也不一样 [ 63%]

...码用到了更新物理根节点去做相机跟踪 代码如下: export default class test extends Laya.Script {         strWorldRoot:Laya.Sprite;     constructor() { super(); }     cameraPlayerOffset:Laya.Point=new Laya.Point(18,0);     cameraOffset:Laya.Point=new Laya.Point(180,570); ...

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

222. drawToCanvas绘制显示不全 [ 63%]

...关的链接 提交 3 个回复 之肖 赞同来自: 测试代码 export default class TestView extends TestViewUI {     constructor() {         super();     }     onAwake() {         this.nativeImg = new Image();         let style = this.nativeImg.style;         style.position...

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

223. laya.d3.core.RenderableSprite3D_API3.0 [ 62%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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

224. laya.resource.NativeRenderTexture2D_API3.0 [ 62%]

...G defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture depthStencilFormat destroyed dimension filterMode format gammaCorrection gammaSpace generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount obsolute offsetX offsetY referenceCount samples so...

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

225. laya.gltf.glTFResource_API3.0 [ 62%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _parse _parse(data: glTF, createURL: string, p...

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

226. laya.d3.core.MeshSprite3D_API3.0 [ 62%]

.../d3/core/MeshSprite3D.ts:29 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns MeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defin...

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

227. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...supportReflectionProbe:true, uniformMap:{ u_AlphaTestValue: { type: Float, default: 0.5, range: [0.0, 1.0] }, u_TilingOffset: { type: Vector4, default: [1, 1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u...

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

228. Laya List给子元素添加事件后,滚动事件被劫持了 [ 62%]

...  Laya.stage.addChild(storeTxList);     悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); }  } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

229. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 62%]

...e/SkinnedMeshSprite3D.ts:50 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SkinnedMeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extr...

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

230. laya.d3.core.light.DirectionLight_API3.0 [ 62%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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