大约有 1,125 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...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
...构建运行,连接手机结果打开项目就闪退? var ApiService = class { // private static readonly baseUrl1 = 'https://75xlni078957.vicp.fun'; // 发送通用请求(添加认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, meth...
来源: Laya_社区 发布时间: 20251115
... 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
...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
...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...
来源: Laya2.0_文档 发布时间: 20210715
...以写一个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
...,建议用脚本方式实现,比如子弹脚本。 */ 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
...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
... 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
...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...
来源: Laya2.0_文档 发布时间: 20210714