大约有 490 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
Laya2.0_api(166) laya_api(138) Laya_示例(60) Laya_社区(55) Laya2.0_示例(50) Laya2.0_文档(10) Laya3.0_api(9) Laya3.0_文档(2)
...import shaderModule.customMaterials.CustomMaterial; /** * ... * @author */ public class Shader_GlowingEdge { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function Shader_GlowingEdge() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage....
来源: Laya_示例 发布时间: 20260929
...vate function setPosition(value):void { this.position = value; update(); } public function update() { console.log('rotation: ' + this.rotation + '\tscale: ' + this.scale + '\tposition: ' + this.position); } 调用以下代码更改状态: setRotation(90); setScale(2); setPosition(30); 控制台的...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConf...
来源: Laya3.0_api 发布时间: 20231115
...is, function (): void { this.setCustomMaterial(scene.getChildAt(2)); }); } public setCustomMaterial(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var customMaterial: CustomTerrainMaterial = new Custo...
来源: Laya_示例 发布时间: 20260929
...API错误还是这样的用法已经过时了?API中的说明如下。 public function load(url:String, type:String = null, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):void2、关于图片加载问题。 官方的飞机大战案例中,加载地图用的是bg.loadImage...
来源: Laya_社区 发布时间: 20160722
...= new Vector3(0, -1, 1); private var label:Label; private var scene:Scene; public function RayPicking04() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相...
来源: Laya_示例 发布时间: 20260929
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite G...
来源: Laya3.0_api 发布时间: 20231115
...ds Laya.Script { @property({ type : Laya.Node, inspector: "MyTestField" }) public node: Laya.Node; } 3、实际效果: 六、自定义面板 可以通过以下方式给编辑器增加一个面板 @IEditor.panel("test", { title: "Test", icon : "editorResources/20230710-161955.png" }) export class T...
来源: Laya3.0_文档 发布时间: 20251010
...APPSPAWN: [sandbox_utils.cpp:163]errno is: 2, bind mount /data/service/el1/public/themes/100/a/app to /mnt/sandbox/100/com.layabox.game/data/themes/a/app 01-06 17:34:41.549 23051 23051 I C02c11/APPSPAWN: [sandbox_utils.cpp:163]errno is: 2, bind mount /data/service/el1/public/themes/100/b/app to /mnt...
来源: Laya_社区 发布时间: 20250106