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

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

2711. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 41%]

...enu Globals "laya/d3/core/reflectionProbe/ReflectionProbe" ReflectionProbe Class ReflectionProbe ReflectionProbe 类用于实现反射探针组件 miner Hierarchy Sprite3D ReflectionProbe Index Constructors constructor Properties _extra _isScene _scene _url name TEMPVECTOR3 defaultTextureHDRDecodeVa...

来源: Laya3.0_api 发布时间: 20231102

2712. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 41%]

...据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: ...

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

2713. laya.ui.Image [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对...

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

2714. laya.ui.View [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewProperties | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,...

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

2715. laya.display.AnimationBase [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,...

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

2716. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 41%]

...tomMaterial.__super.call(this); this.setShaderName("CustomShader"); } Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._getTexture(CustomMaterial.DIFFUSETEXTURE); } CustomMateria...

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

2717. laya.d3.core.BaseCamera [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses Camera, VRCamera BaseCamera 类用...

来源: laya_api 发布时间: 20170929

2718. 没有人尝试使用3d物理引擎么 [ 41%]

...Dimen.common.SpriteMoveScript; import threeDimen.common.SpriteStat; public class LayaAir3D { private var box:MeshSprite3D; private var sphereBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya....

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

2719. SCALE_FIXED_WIDTH适配屏幕的问题 [ 41%]

...Chrome/66.0.3359.126 MQQBrowser/6.2 T     代码如下,另附上demo  class Main {         private _roomId = 0;         constructor(roomId?: number) {             this._roomId = roomId;             Laya.init(750, 1218, Laya.WebGL);             Laya.Browser.document.tit...

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

2720. laya.ui.FontClip [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames FontClipProperties | Methods | Events Packagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图...

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