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

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

571. 请问如何在laya3D下实现雾效果 [ 84%]

...: laya.d3.core.scene         /** 是否允许雾化。*/         public var enableFog:Boolean;         /** 雾化起始距离。*/         public var fogStart:Number;         /** 雾化结束距离。*/         public var fogRange:Number;         /** 雾化颜...

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

572. 性能测试-虫子(慎入) [ 84%]

...ort laya.utils.Stat; import laya.maths.Rectangle; import laya.webgl.WebGL; public class PerformanceTest_Maggots { private var texturePath:String = "../../res/tinyMaggot.png"; private var padding:int = 100; private var maggotAmount:int = 5000; private var tick:Number = 0; private var maggots:Array = ...

来源: Laya2.0_示例 发布时间: 20260106

573. laya.ui.ColorPicker [ 84%]

...s No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Pub...

来源: laya_api 发布时间: 20170929

574. 性能测试-卡通人物2 [ 84%]

...is.text.text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.cre...

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

575. 问下tiledmap类中的renderOrder应该怎么用 [ 84%]

...复 cuixueying 赞同来自:   /**地图格子从左上角开始渲染*/ public static const RENDERORDER_RIGHTDOWN:String = "right-down"; /**地图格子从左下角开始渲染*/ public static const RENDERORDER_RIGHTUP:String = "right-up"; /**地图格子从右上角开始渲染*/ public static co...

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

576. 微信小游戏渲染开放域卡顿处理 [ 84%]

... private $bitmap: any;         private $timer: lie.Timer;         public auto: boolean = true;    // 仅在未加入场景前修改有效,兼容ui         constructor() {             super();             this.once(Laya.Event.DISPLAY, this, this.onCreate);           ...

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

577. laya.ui.FontClip [ 84%]

...ames No Frames FontClipProperties | Methods | Events Packagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用...

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

578. TypeScript语法问题,泛型 [ 84%]

...型类,但是写了很多遍没成功,有人会吗?下面是C#代码 public class Class1<T> where T : class, new() { private static T instance; public static T GetInstence() { if (null == instance) { instance = new T(); } return instance; } } 这样我在其他地方,继承Class1,就...

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

579. laya.ui.ColorPicker [ 84%]

...s No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker UIComponent Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited P...

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

580. laya.ani.swf.MovieClip [ 84%]

...o Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...

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