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

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

411. 预制体模块 · LayaAir3文档 · LAYABOX [ 52%]

...希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { /...

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

412. 混合模式-Lighter [ 52%]

...l: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(this.phoenixWidth * 2, this.phoenixHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...

来源: Laya_示例 发布时间: 20260106

413. 2.0打包apk崩溃报错,有堆栈 也是在so里面 [ 52%]

...ExecuteSwitchImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)+62039) [x86] 6 #05 pc b27cb9b4 <unknown>      native版本 2.5.0  引擎版本2.5.0 2020-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

414. LAYAAIR加载SWF无线循环 [ 52%]

LAYAAIR加载SWF无线循环    private const SheepSWFPath:String = "res/swf/sheep3.swf";   Laya.init(1136, 640);         //  Laya.stage.alignV = Stage.ALIGN_MIDDLE;         //  Laya.stage.alignH = Stage.ALIGN_CENTER;             Laya.stage.screenMode = Stage.SC...

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

415. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

来源: Laya2.0_api 发布时间: 20190513

416. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

来源: laya_api 发布时间: 20170929

417. WebGL模式下用遮罩实现圆形头像会有警告出现 [ 52%]

...  代码示例: this.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加...

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

418. 使用的模型动画 播放完了 怎么让他可以在2D的情况下x,y方向移动 [ 52%]

...0 );   可以類似這樣寫 var Mesh_Boss = new MeshSprite3D( Mesh.load( Consts.Mesh_Boss01 ) ) as MeshSprite3D; Mesh_Boss.transform.localPosition = new Vector3( -7.36, -1.03, 0 );   2017-07-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

419. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { /...

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

420. Laya3D 贴图读取时参数mipmap修改无效,请问如何去掉默认的mipmap [ 52%]

...!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 这个一样可以达到控制远近效果的! 2018-10-27 0 1 分享 微博 QZONE 微信 为...

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