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

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

121. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 42%]

...形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 coneMaterial: Laya.BlinnPhongMaterial =...

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

122. laya.d3.core.BaseCamera_API3.0 [ 41%]

...ds _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasLi...

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

123. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 40%]

...etSprite3D(pBull, "bull/areas/attack_rush/1") let pListener = pBullHitArea.addComponent(CollisionListener); //添加监听 onTriggerEnter 的逻辑 pListener.init(this, CollisionListener.func_onTriggerEnter, "onTriggerEnter"); let tPosEnemy = new Laya.Vector3(); Util3d.v3Copy(tPosEnemy, tPosBull.tra...

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

124. laya.d3.core.scene.Scene3D_API3.0 [ 31%]

... _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChi...

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

125. laya.device.media.Video_API3.0 [ 30%]

... zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater canPlayType clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds get...

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

126. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 30%]

...tion; moveCamera.transform.rotate(this._rotation, true, false); moveCamera.addComponent(CameraMoveScript); //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCou...

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

127. laya.d3.core.BaseCamera [ 27%]

...引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode  addLayer(layer:int):void 增加可视图层,layer值为0到31层。 BaseCa...

来源: Laya2.0_api 发布时间: 20190513

128. laya.d3.core.BaseCamera [ 25%]

...位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D  addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer...

来源: laya_api 发布时间: 20170929

129. laya.d3.core.VRCamera [ 25%]

...位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()...

来源: laya_api 发布时间: 20170929

130. laya.device.media.Video [ 23%]

...引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函...

来源: Laya2.0_api 发布时间: 20190513