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

大约有 962 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)

691. laya.d3.core.light.Light_API3.0 [ 50%]

...ited Externals Only exported Menu Globals "laya/d3/core/light/Light" Light Class Light LightSprite 类用于创建灯光的父类。 Hierarchy Component Light SpotLightCom DirectionLightCom PointLightCom AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor...

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

692. laya.physics.joint.PrismaticJoint_API3.0 [ 50%]

...y exported Menu Globals "laya/physics/joint/PrismaticJoint" PrismaticJoint Class PrismaticJoint 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis ...

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

693. HTMLIframeElement 使用出错?请大神指点 [ 50%]

...4 21:27 import HTMLIframeElement = Laya.HTMLIframeElement; // 程序入口 class GameMain{ constructor() { Laya.init(600,400); //Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_CENTER; Laya.stage.screenMode = Laya.Stage....

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

694. laya.physics.BoxCollider_API3.0 [ 50%]

...xternals Only exported Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enable...

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

695. laya.utils.Browser_API3.0 [ 50%]

...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...

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

696. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 50%]

....Sprite import Texture = Laya.Texture import Handler = Laya.Handler export class MaskDemo { private Res: string; private img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" Laya.Stat.show() //资源路径 this.Res = "test.png"; t...

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

697. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 50%]

Uncaught TypeError: Cannot read property 'regClass' of undefined 1.使用2.12.0版本创建typescript的2D示例项目 2.运行,可以正常运行 3.按F9,默认编程语言是没有任何选择的,然后切换编程语言,选择TypeScript,点击确定 4.运行,出现错误Uncaught Type...

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

698. laya.components.AnimatorController2D_API3.0 [ 50%]

...d Menu Globals "laya/components/AnimatorController2D" AnimatorController2D Class AnimatorController2D 2D动画控制器 Hierarchy Resource AnimatorController2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsol...

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

699. laya.physics.PolygonCollider_API3.0 [ 50%]

... Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不...

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

700. laya.resource.AtlasResource_API3.0 [ 50%]

...als Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory i...

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