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

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

851. 为什么自定义shader大图正常,小图就被缩小了 [ 58%]

...s.iNum = 0; function myShaderSprite() { myShaderSprite.super(this); } Laya.class(myShaderSprite, "myShaderSprite", _super); /* 初始化此类 texture纹理对象 vb顶点数组 ib顶点索引数组 */ myShaderSprite.prototype.init = function(texture,width_Size,height_Size,vb,ib){ this.vBu...

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

852. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 58%]

...构建运行,连接手机结果打开项目就闪退? var ApiService = class { // private static readonly baseUrl1 = 'https://75xlni078957.vicp.fun'; // 发送通用请求(添加认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, meth...

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

853. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 57%]

... Globals "laya/d3/core/material/unlit/UnlitTestMaterial" UnlitTestMaterial Class UnlitTestMaterial Hierarchy Material UnlitTestMaterial Implements IClone Index Constructors constructor Properties destoryedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUE...

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

854. 新人求助:onStart赋值为什么在onUpdate会输出一次为空 [ 57%]

...onStart赋值为什么在onUpdate会输出一次为空   export default class mtTest extends Laya.Script{          lab:Laya.Label;      onAwake():void{             }     onStart():void{                this.lab=this.owner as Laya.Label;       ...

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

855. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 57%]

...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 ​ 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...

来源: Laya2.0_文档 发布时间: 20210715

856. 网格像素线 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...以写一个Tool工具类,方便转换使用: //Tool工具类 export class Tool { private static transVertex0: Laya.Vector3 = new Laya.Vector3(); private static transVertex1: Laya.Vector3 = new Laya.Vector3(); private static transVertex2: Laya.Vector3 = new Laya.Vector3(); private static corners...

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

857. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 57%]

...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { scene3d:Laya.Scene3D; sp:Laya.Sprite3D; sp2:Laya.Sprite3D; translateA = new Laya.Vector3(-0.05, 0, 0); translateD = new Laya.Vector3( 0.05, 0, 0); constructor() { super(); //添加3D...

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

858. 官方案例里摄像机绕物体旋转脚本的问题 [ 57%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...

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

859. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 57%]

... Menu Globals "laya/d3/core/pixelLine/PixelLineMaterial" PixelLineMaterial Class PixelLineMaterial PixelLineMaterial 类用于实现像素线材质。 Hierarchy Material PixelLineMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url u...

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

860. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 57%]

...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 ​ 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...

来源: Laya2.0_文档 发布时间: 20210714