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

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

1151. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 31%]

...代码如下: ```typescript /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(L...

来源: Laya2.0_文档 发布时间: 20210715

1152. laya.d3.core.light.PointLight_API3.0 [ 31%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url na...

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

1153. laya.d3.core.BaseCamera_API3.0 [ 30%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/BaseCamera" BaseCamera Class BaseCamera BaseCamera 类用于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene...

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

1154. laya.d3.core.light.SpotLight_API3.0 [ 30%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/SpotLight" SpotLight Class SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name ta...

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

1155. laya.d3.core.RenderableSprite3D_API3.0 [ 30%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/RenderableSprite3D" RenderableSprite3D Class RenderableSprite3D RenderableSprite3D 类用于可渲染3D精灵的父类,抽象类不允许实例。 Hierarchy Sprite3D RenderableSprite3D Pi...

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

1156. laya.d3.core.light.DirectionLight_API3.0 [ 30%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/DirectionLight" DirectionLight Class DirectionLight deprecated DirectionLight 类用于创建平行光。 Hierarchy LightSprite DirectionLight Index Constructors constructor Propertie...

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

1157. 微信小游戏分包实战(TypeScript-小游戏适配文档-微信小游戏) [ 30%]

...b.ts代码如下所示: ```javascript /** * 分包 */ module subpackage{ export class b{ private GameMain:any; private ui:any; constructor(){ //监听按钮btnA的点击事件,触发后处理 this.GameMain.newUI.btnA.on(Laya.Event.CLICK, this, this.showB); } //显示B页 private showB():void { t...

来源: Laya2.0_文档 发布时间: 20210715

1158. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 30%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/MeshTerrainSprite3D" MeshTerrainSprite3D Class MeshTerrainSprite3D TerrainMeshSprite3D 类用于地形节点转换普通mesh渲染。 Hierarchy MeshSprite3D MeshTerrainSprite3D Index Constr...

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

1159. 求ShuriKenParticle3D用法 [ 29%]

...  import Burst                    = Laya.Burst;     export class JinBi extends ShuriKenParticle3D {         constructor() {             let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat");...

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

1160. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: ...

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