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

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

71. Sprite3D-Sprite3D克隆 [ 67%]

...a.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.scene = new Laya.Scene(); Laya.stage.addChild(this.scene); var camera: Laya.Camera = ...

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

72. 照相机-多照相机 [ 67%]

..../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...

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

73. laya.display.Node_API3.0 [ 67%]

...有子显示对象。 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 _processActive add...

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

74. layaMaxUI.ts的自动生成代码bug [ 67%]

...lass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSceneUI",MainSceneUI); } 期待生成SceneBase, 结果仍然生成Laya.SceneBase     其他关联链接:...

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

75. 3D变换 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

... 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } }...

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

76. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 67%]

...弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventional/terrain.ls",Laya.Handler.cre...

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

77. 材质-BlinnPhong材质加载 [ 67%]

...terialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...

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

78. 新手,从unity导出地形的问题 [ 67%]

... 微信 liuzhengcai 赞同来自: // 程序入口 class LayaAir3D {     constructor() {         //初始化引擎         Laya3D.init(0, 0, true);         //适配模式         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.S...

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

79. 自定义shader-shader预编译 [ 66%]

....ShaderCompile3D.SHADERDEFINE_HIGHPRECISION,4,20);class ShaderPrecompile { constructor() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc: Laya.ShaderCompile3D = Laya.ShaderCompile3D.get("SIMPLE"); //部分...

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

80. laya.d3.core.Sprite3D_API3.0 [ 66%]

... Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Meth...

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