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

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

1521. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 39%]

...esh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, null, name); meshTerrainSprite3D._initCreateFromMeshHeightMap(texture, minHeight, maxHeight); return meshTerra...

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

1522. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 39%]

...;             //this.addChild(this.text); } public setImg(src: string): void { this.img.skin = src;             } }  /* class Main {     constructor() {         wx.onMessage(data => {             console.log(data);             if (data....

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

1523. 我用as3调试的matter.js,刚体发生碰撞后不会旋转,我的代码在附件里 [ 39%]

...         private var t_obj:Object;         private var url_img:String = "res/";                    public function WWJ_Main()          {             Laya.init(stageWidth, stageHeight);                          Laya.stage.alignV = Stage.ALIGN...

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

1524. 射线检测-选取物体 [ 38%]

...件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function (): void { var str: String = ""; for (var i: number = 0; i = new Vector.(); private var camera:Camera; private var label:Label; public function RayPicking01() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMo...

来源: Laya_示例 发布时间: 20241127

1525. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 38%]

...ss Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Sta...

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

1526. laya.components.CommonScript_API3.0 [ 38%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...

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

1527. 多选框组件 · LayaAir3.0文档 · LAYABOX [ 38%]

...teLabel, [cb]); this.updateLabel(cb); } } } } private createCheckBox(skin: string): Laya.CheckBox { let cb: Laya.CheckBox = new Laya.CheckBox(skin); this.owner.addChild(cb); cb.labelColors = "white"; cb.labelSize = 20; cb.labelFont = "Microsoft YaHei"; cb.labelPadding = "3,0,0,5"; return cb; } priva...

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

1528. laya.physics.joint.JointBase_API3.0 [ 38%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...

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

1529. laya.d3.core.MeshFilter_API3.0 [ 37%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...

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

1530. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 37%]

... public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:number = 0.04; /*3D摄像机*/ public camera:Laya.Camera; /*摇杆控制器*/ private rocker:RockerView; /*...

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