大约有 1,106 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0099 秒)
Laya_社区(447) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(52) Laya2.0_api(35) laya_api(27)
... 程序入口 class MaskDemo{ private Res:string; private img:Laya.Sprite; constructor() { Laya.init(1336,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //资源路径 this.Res = "res/img/monkey1.png"; //先加载图片资源,在图片资源加载成功后,通过回调方法绘制...
来源: Laya2.0_文档 发布时间: 20210715
...的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZM...
来源: Laya3.0_api 发布时间: 20231115
...新建个项目。代码如下所示: ```typescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(...
来源: Laya2.0_文档 发布时间: 20210715
...var video = new Laya.Video(); 这行代码报错 提示说Video中的Constructor不存在。 原文:Laya.Video is not a constructor 2018-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 PYS_Goon 相关问题 发起问题...
来源: Laya_社区 发布时间: 20170515
...el":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(GameSceneuiUI.uiView); } } REG("ui.GameSceneuiUI",GameSceneuiUI); export class GameViewUI extends Laya.View { public static uiView:any ={...
来源: Laya_社区 发布时间: 20200228
...mpId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(GameSceneuiUI.uiView); } } REG("ui.Game...
来源: Laya_社区 发布时间: 20200228
...x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertF...
来源: Laya3.0_api 发布时间: 20231102
...BoxMove from "./BoxMove"; export default class GameUI extends Laya.Scene { constructor() { super(); //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1...
来源: Laya_社区 发布时间: 20190314
...Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture errorTexture grayTexture normalTexture whiteTexture Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defau...
来源: Laya3.0_api 发布时间: 20231115
...要在字节层访问数据的高级开发人员。 Hierarchy Byte Index Constructors constructor Properties BIG_ENDIAN LITTLE_ENDIAN Accessors buffer bytesAvailable endian length pos Methods clear getUTFBytes getUTFString readArrayBuffer readByte readFloat32 readFloat32Array readFloat64 readInt16 r...
来源: Laya3.0_api 发布时间: 20231115