大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...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
...de报未定义,IDE F8编译时也不通过 代码: export default class Index extends Laya.Script { /* @prop {name: speed, tips: "速度", type: Number, default: 10} */ constructor() { super(); } onAwake() { ...
来源: Laya_社区 发布时间: 20191227
...转、设置天空盒、添加脚本等操作。 代码如下: ```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
...代码如下所示: ```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
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
....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
...[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
...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
...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
...享 微博 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