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

大约有 413 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

231. Laya3D场景加载问题 [ 61%]

...场景加载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.lo...

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

232. 这种进度条怎么实现? [ 61%]

...ZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() ...

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

233. 为什么创建的脚本 变量在编辑模式赋值后 运行时为undfined [ 61%]

...名的无头像者 • 2018-10-24 18:14 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖...

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

234. 3D场景中背景无法透明,版本2.7.1 [ 61%]

...版本2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene =...

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

235. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 61%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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

236. laya.resource.RenderTexture2D_API3.0 [ 61%]

...r defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture depthStencilFormat destroyed dimension filterMode format gammaCorrection gammaSpace generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount obsolute offsetX offsetY referenceCount samples so...

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

237. laya.d3.math.Vector3_API3.0 [ 61%]

... dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 t...

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

238. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 61%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScen...

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

239. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 61%]

...ixelLineSprite3D.ts:45 创建一个 PixelLineSprite3D 实例。 Parameters Default value maxCount: number = 2 最大线段数量。 Default value name: string = null 名字。 Returns PixelLineSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/N...

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

240. laya.d3.graphics.vertex.VertexMesh_API3.0 [ 60%]

...式为:"POSITION,NORMAL,COLOR,UV,UV1,BLENDWEIGHT,BLENDINDICES,TANGENT"。 Default value compatible: boolean = true Returns VertexDeclaration 顶点声明。 Globals "laya/d3/graphics/Vertex/VertexMesh" VertexMesh MESH_BLENDINDICES0 MESH_BLENDWEIGHT0 MESH_COLOR0 MESH_CUSTOME0 MESH_CUSTOME1 MESH_CUSTO...

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