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

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

271. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 67%]

...的约束组件 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

272. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 67%]

...新建个项目。代码如下所示: ```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

273. Laya.Video内存泄漏问题 [ 67%]

...var video = new Laya.Video(); 这行代码报错   提示说Video中的Constructor不存在。   原文:Laya.Video is not a constructor 2018-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 PYS_Goon 相关问题 发起问题...

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

274. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 67%]

...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

275. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 67%]

...mpId":3}],"loadList":["comp/button.png"],"loadList3D":[]};         constructor(){ super()}         createChildren():void {             super.createChildren();             this.createView(GameSceneuiUI.uiView);         }     }     REG("ui.Game...

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

276. laya.d3.math.Matrix4x4_API3.0 [ 67%]

...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

277. laya3d物体碰撞与触发检测的问题 [ 67%]

...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

278. laya.resource.Texture2D_API3.0 [ 67%]

...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

279. laya.utils.Byte_API3.0 [ 67%]

...要在字节层访问数据的高级开发人员。 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

280. laya.ui.AutoBitmap_API3.0 [ 67%]

...宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawP...

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