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

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

201. 微信小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...

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

202. 升级到3.0-beta6无法选择资源了 [ 54%]

... export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;      constructor() {         super();     } } 附件 : --> 2023-04-12 添加评...

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

203. 请问2.0js怎么加天空盒子或穹顶,官网例子运行报错。 [ 53%]

...cullingMask : 2147483647 destroyed : false enableRender : true name : "New Sprite3D" sky : SkyDome _bufferState : BufferState _bindedIndexBuffer : IndexBuffer3D _nativeVertexArrayObject : WebGLVertexArrayObjectOES __proto__ : BufferStateBase _indexBuffer : IndexBuffer3D _slices : 48 _stacks : 48 _ve...

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

204. 程序蓝图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...了。 (图1-3) 不同的蓝图文件有不同的使用方式: 继承Sprite3D的蓝图直接拖到3D场景使用 (也可拖到3D场景的层级目录)。 (图1-4) 继承UI派生类的蓝图直接拖到2D场景使用 (也可以拖到2D场景的层级目录)。 (图1-5) 继...

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

205. laya.display.Node_API3.0 [ 52%]

...de 对象可以有子显示对象。 Hierarchy EventDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _pr...

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

206. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 48%]

...的距离进行旋转                 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false);             }         }         else if (2 === touchCount){             this._text.text = "...

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

207. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...等) let screenPos = this.spine3D._baseRenderNode.shaderData.getVector(Sprite3D.WORLDMATRIX); } } 3.6 快速渲染模式的限制 与2D Spine相同,3D Spine的快速渲染模式对顶点的骨骼控制数量有限制。如果Spine资源某个顶点被超过4个骨骼控制,可能会出现...

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

208. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 48%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getCompo...

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

209. 用Unity插件导出的模型渲染报错 [ 48%]

...reate(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写应该没问题吧? 155*****924 • 2019-05-16 15:18 Utils3D._mulMatrixArray(this._...

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

210. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...

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