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

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

291. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 63%]

...们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建...

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

292. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 63%]

...ex; this.playStateInfo.playState = playstate; this._label = animator.owner.scene.scene2D.getChildByName("Label"); } constructor() { super(); } /** * 动画状态开始时执行。 */ onStateEnter(): void { console.log("动画开始播放了"); this._label.text = "开始跑动画"; } /** * 动画状...

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

293. laya.ui.ComboBox_API3.0 [ 63%]

...nt ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX centerY co...

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

294. laya.ui.ColorPicker_API3.0 [ 63%]

...ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs ce...

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

295. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 62%]

...存并F12导出。如下图所示。 ![img](img/21.png) 第二步,选中Scene场景,创建一个空类,按下图所示,将该类拖入到场景的runtime属性栏上,然后保存并F12导出。 ![img](img/22.png) 第三步,打开刚刚创建的类,继承该场景页,并编写位图...

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

296. laya.ui.RadioGroup_API3.0 [ 62%]

... RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX center...

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

297. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 62%]

... { console.log("onMouseUp"); } } 如图2-3所示,将组件脚本添加到Scene2D的属性面板后,先不勾选 Mouse Through,因为如果勾选它,Scene2D下鼠标事件将不会响应。如果是一个3D场景,它会传递到Scene3D中。 (图2-3) 运行项目,如动图2-4所示,...

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

298. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 62%]

...们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建...

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

299. 2.12.2beta1 诸多bug [ 62%]

...a 刚刚创建项目 默认 发布模式 为 文件模式 创建了一个A.scene 编译后 layaMaxUI里面没有A.scene代码 发布模式 改为 加载模式 才好使 zyy • 2021-11-08 20:18 3个bug示例查看GameUI类.zip zyy • 2021-11-08 20:18 又加了一个示例zip文件 “3个bug示例...

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

300. laya.ui.Tab_API3.0 [ 62%]

...UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX center...

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