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

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

481. 使用laya官方示例代码制作微信小游戏无法显示 [ 46%]

...ort Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // // 不支持WebGL时自动切换至Canvas // Laya.init(800, 600, WebGL); //此处为微信小游戏小改动 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleM...

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

482. 安卓概率闪退 [ 46%]

...o (v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags)+164) [arm64-v8a] 10 #09 pc 00000000006ed824 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (v8::internal::Factory::NewFillerObject(int, bool, v8::internal::Allocatio...

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

483. laya.d3.math.Native.ConchQuaternion [ 46%]

...ses | Index | Frames No Frames ConchQuaternionProperties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchQuaternionInheritanceConchQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined By  elements : ...

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

484. 导航容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...入到其暴露的属性入口中。需要添加如下的示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ViewStack }) public viewstack: Laya.ViewStack; @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被...

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

485. laya.d3.core.Layer [ 46%]

... All Classes | Index | Frames No Frames LayerProperties | Methods | Constants Packagelaya.d3.coreClasspublic class LayerInheritanceLayer Object Layer 类用于实现遮罩层。 Public Properties PropertyDefined By  active : Boolean 取是否激活。 Layer  activeLayers : int[static] ...

来源: laya_api 发布时间: 20170929

486. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 46%]

...ault:5}*/ public horizontalSpace: number = 5; private sprite: Laya.Sprite; constructor() { super(); this.sprite = new Laya.Sprite(); } drawText(x: number, y: number, w: number, h: number) { console.log(2222); var j = 0;//控制行列 var printNumber = 0;//当前输出字数 var fonts = this.fontSize...

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

487. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 46%]

...这里再贴一段我写的例子里面的代码,直观一点: private const stand:String = "STAND"; private function loadActionsComplete():void {     //创建动画模板dizziness      //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对     ...

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

488. laya.display.css.TextStyle [ 46%]

...l Classes | Index | Frames No Frames TextStyleProperties | Methods | Constants Packagelaya.display.cssClasspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By  align : String 表示使用此文本格式的文本段...

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

489. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 46%]

... VRSeeThroughCamera to determine the correct UV // coordinates to be used. const combinedOrientation = combineOrientations( window.screen.orientation.angle, this.passThroughCamera.orientation ); if (combinedOrientation !== this.combinedOrientation) { this.combinedOrientation = combinedOrientation; t...

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

490. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 45%]

...所示。 (动图8) 3、代码创建Dialog组件 代码运行结果: const { regClass, property } = Laya; @regClass() export class UI_Dialog extends Laya.Script { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PA...

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