大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
API DocumentationAll Packages | All Classes | Index | Frames No Frames MediaMethods Packagelaya.device.mediaClasspublic class MediaInheritanceMedia Object Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames MediaMethods Packagelaya.device.mediaClasspublic class MediaInheritanceMedia Object Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames SphereColliderShapeProperties | Methods Packagelaya.d3.physics.shapeClasspublic class SphereColliderShapeInheritanceSphereColliderShape ColliderShape Object SphereColliderShape 类用于创建球形碰撞器。 Public Pr...
来源: Laya2.0_api 发布时间: 20190513
...径要求么? 我在项目src目录同级的目录下创建了modules/classes/src/testA/testA.as module.def里配置如下: module:"module" path:"modules\src\testA",或者改成path:"modules\src",编译后的module.js生成均只有以下内容 (nction(window,document,Laya){ var ...
来源: Laya_社区 发布时间: 20170204
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorInheritanceVertexPositionNormalColor ObjectImplements IVertex VertexPositionNormalColor 类用于创建位...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNTBTextureProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNTBTextureInheritanceVertexPositionNTBTexture ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位置...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames HitAreaProperties | Methods Packagelaya.utilsClasspublic class HitAreaInheritanceHitArea Object 鼠标点击区域,可以设置绘制一系列矢量图作为点击区域和非点击区域(目前只支持圆形,矩...
来源: Laya2.0_api 发布时间: 20190513
...E让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stag...
来源: Laya2.0_示例 发布时间: 20250223
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTextureProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTextureInheritanceVertexPositionNormalTexture ObjectImplements IVertex VertexPositionNormalTexture 类用于创...
来源: laya_api 发布时间: 20170929
反射实例中的属性 根据API中Laya.ClassUtils.类中的方法,我先注册了,在创建了实例!但我如何获取实例中对象的属性 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.ClassUtils.regClass("sp", Reflect); Laya.ClassUtils.getInstance('sp').p...
来源: Laya_社区 发布时间: 20181029