大约有 240 项符合查询结果, 库内数据总量为 30,956 项。 (搜索耗时: 0.0084 秒)
...转换普通mesh渲染。 Hierarchy MeshSprite3D MeshTerrainSprite3D Index Constructors constructor Properties _extra _scene _url name LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITIO...
来源: Laya3.0_api 发布时间: 20231102
...ample import Animation = laya.display.Animation; class Animation_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animati...
来源: Laya3.0_api 发布时间: 20231115
...打开另外一个list item啊。 打开 dialog b 。b的构造方法: constructor() { super(); console.log(" Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("...
来源: Laya_社区 发布时间: 20190521
....TextInput; import Handler = laya.utils.Handler; class TextInput_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, this.onLoadComp...
来源: Laya3.0_api 发布时间: 20231115
...收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnter(other: any, self: any, contact: any): v...
来源: Laya3.0_文档 发布时间: 20250319
...ui.TextArea; import Handler = laya.utils.Handler; class TextArea_Example { constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, this.onLoadComp...
来源: Laya3.0_api 发布时间: 20231115
...生改变: value=", value); } } Hierarchy UIComponent ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX...
来源: Laya3.0_api 发布时间: 20231115
...private newScene:Laya.Scene3D; private boxA: Laya.MeshSprite3D; constructor() { super(); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.newScene ...
来源: Laya_社区 发布时间: 20210103
...export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图9-4) Copyright ©...
来源: Laya3.0_文档 发布时间: 20240910
...下,cpu爆满 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor 最新IDE下载打开报错文件已经损坏! 模型在ios中,某个特定角度下显示错误 问题状态 最新活动: 2020-08-23 01:29 浏览: 1692 关注: 6 人 韩冲 • 2020-06-23 17:52 PS E:\BaiduNetd...
来源: Laya_社区 发布时间: 20191231