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

大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0057 秒)

2371. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 48%]

...olume/BatchVolume/StatiVertexMergeBatchRender" StatiVertexMergeBatchRender Class StatiVertexMergeBatchRender Hierarchy BatchRender StatiVertexMergeBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge A...

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

2372. prop 识别不到 [ 48%]

...de报未定义,IDE F8编译时也不通过   代码: export default class Index extends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {        ...

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

2373. 从Unity中编辑并导出摄像机(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 48%]

...转、设置天空盒、添加脚本等操作。 ​ 代码如下: ```js class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //预...

来源: Laya2.0_文档 发布时间: 20210714

2374. JSONP跨域读取数据(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 47%]

...代码如下所示: ```java package { import laya.utils.Browser; public class LayaSample { public function LayaSample() { Laya.init(100,100); var script:* = Browser.createElement("script"); Browser.document.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static functi...

来源: Laya2.0_文档 发布时间: 20210714

2375. laya.d3.core.light.SpotLight [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SpotLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光...

来源: laya_api 发布时间: 20170929

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

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

2377. 关于项目分包的问题?? [ 47%]

...[SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(...

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

2378. 重复背景,全方向地图拖动Demo [ 47%]

...o UI创建4个image  var分别: map0,map1,map2,map3 背景图宽高 1800 class WorldPage extends ui.WorldPageUI{ constructor (x,y) { super() this.maxX = 149850 this.maxY = 97500 this.offsetX = x * 150 this.offsetY = y * 150 this.downMouseX = 0 this.downMouseY = 0 Laya.loader.load(['bg/world_bg.jpg...

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

2379. Spine骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...Spine动画资源,然后添加spine组件。 代码示例: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite }) public sprite: Laya.Sprite; private spine: Laya.Spine2DRenderNode; private index: number = -1; //组件被激...

来源: Laya3.0_文档 发布时间: 20250214

2380. 【项目分享】分享一个六角消除小游戏源码 [ 47%]

...享 微博 QZONE 微信 珍惜呵护 赞同来自: Uncaught Can not find class Laya.Text    报这个错是什么情况 2021-03-22 0 0 分享 微博 QZONE 微信 Anger123 赞同来自: 我也送大家一个3D全民过山车 全民过山车-laya3d.zip 2021-03-23 0 0 分享 微博 QZONE 微信 为...

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