大约有 962 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0151 秒)
Laya3.0_api(668) Laya_社区(264) Laya3.0_文档(9) Laya2.0_api(6) laya_api(5) Laya_示例(5) Laya2.0_示例(3) Laya2.0_文档(2)
...ernals Only exported Menu Globals "laya/physics/joint/JointBase" JointBase Class JointBase 关节基类 Hierarchy Component JointBase DistanceJoint GearJoint MotorJoint MouseJoint PrismaticJoint PulleyJoint RevoluteJoint WeldJoint WheelJoint Index Constructors constructor Properties _extra _singleto...
来源: Laya3.0_api 发布时间: 20231115
...t中使用本地能力 下面是一个推荐做法: //Script.ts @Laya.regClass() class Script extends Laya.Script { wantToUseNode() { EditorEnv.scene.runScript("TestSceneScript.visitNode"); } } //TestSceneScript.ts import fs from "fs"; //注意是IEditorEnv.regClass,不是Laya.regClass!! @IEdito...
来源: Laya3.0_文档 发布时间: 20251010
...s/NativeOBJ/NativeInstanceRenderElementOBJ" NativeInstanceRenderElementOBJ Class NativeInstanceRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeInstanceRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances Accessors _geometry _...
来源: Laya3.0_api 发布时间: 20231115
...defined? 关于同为object层,层级设置无效的问题 Warning!,this class[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用遮罩...
来源: Laya_社区 发布时间: 20190422
... Externals Only exported Menu Globals "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlag...
来源: Laya3.0_api 发布时间: 20231115
...ce了吗? layabox1.0还可以这样写: namespace game{ export class Define{ } } import Define =game.Define; LayaAir2.0导入无效 2019-05-27 0 0 分享 微博 QZONE 微信 156*****215 赞同来自: 需要这样写成这样: import {Define} from "./game/Define" ? 2019-05-...
来源: Laya_社区 发布时间: 20190524
...Externals Only exported Menu Globals "laya/d3/component/LODGroup" LODGroup Class LODGroup SpotLight 类用于构建LOD组件 Hierarchy Component LODGroup Implements IBoundsCell Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked bounds destroyed ...
来源: Laya3.0_api 发布时间: 20231115
...候提示onTxtLoad is undfine.请教应该怎么定义? export default class LocalTxt{ constructor() { LocalTxt.Instance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加...
来源: Laya_社区 发布时间: 20190130
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 Laya.Media方法调用失败 onOpen方法是位于哪个类下面? 问题状态 最新活动: 2017-06-20 1...
来源: Laya_社区 发布时间: 20170620
...Laya3D.init(600,400); } return LayaSample1; }()); 警告Warning!,this class[MiniAdpter] already exist: Object {init: } 运行后什么都没有白白的一片 var LayaSample=(function() { Laya3D.init(600,400); }()); 正常看到黑屏 附件 : --> 2018-05-21 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180521