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

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

501. laya.d3.core.Transform3D_API3.0 [ 38%]

... 局部缩放Z。 Parameters value: number Returns void owner get owner(): Sprite3D Defined in laya/d3/core/Transform3D.ts:119 所属精灵。 Returns Sprite3D position get position(): Vector3 set position(value: Vector3): void Defined in laya/d3/core/Transform3D.ts:392 世界位置。 Returns Vecto...

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

502. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...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

503. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 37%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mas...

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

504. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 36%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 文本如何自动换行 微信小游戏如何使用ttf字体? LayaAi...

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

505. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

...m() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格 coneMesh.sharedMesh = Laya.PrimitiveMesh.createCone(0.25, 0.75); // 创建材质 let coneMate...

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

506. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 31%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...

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

507. 射线检测-选取物体 [ 31%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

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

508. 射线检测-放置物体 [ 29%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

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

509. 射线检测-点击行走 [ 27%]

... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...

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

510. laya.ui.ComboBox_API3.0 [ 23%]

...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean isOpen get isOpen(): boolean set isOpen(value: boolean): void Defined in laya/ui/ComboBox.ts:516 表示下拉列表的打开状态。 Returns boolean Defined in laya/ui/ComboBox.ts:520 ...

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