大约有 1,460 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
....proto文件1.3 生成 .js 和 .d.ts 文件二、编码使用Protobuf2.1 创建脚本导入Protobuf2.2 Protobuf示例脚本三、测试Protobuf通信3.1 搭建一个简单的服务器环境3.2 建立.proto 文件3.3 编写服务端代码3.4 执行测试代码ProtocolBuffer通信 Author: Charley Prot...
来源: Laya3.0_文档 发布时间: 20250103
...字体,然后把ide中的这个控件传到下列的函数中,发现新创建的label使用的并不是 ide中自己做的bmf字体。 class cloneLabel extends Laya.Label { constructor(_label) { super(); this.align = _label.align; this.x = _label.x; this.y = _label.y; this.width = _label.wi...
来源: Laya_社区 发布时间: 20180517
...制加载一个文件,避免浏览器的缓存 一个时间轴动画里创建的多个动画,怎么分别调用?如图 写了一个小塔防游戏,分享给初学的朋友们(ts版本)《二》 移植了一个游戏 代码重新 写的 问题状态 最新活动: 2021-02-18 22:34 浏览: 163 ...
来源: Laya_社区 发布时间: 20210218
...csCollider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThresh...
来源: Laya3.0_api 发布时间: 20231115
...go-blank-after-converting-to-image 这里的说法,两个方式可用 1. 创建时加入preserveDrawingBuffer,但是,这个参数导致乐视手机崩溃 2. 在每次绘图之后截图,但是laya里哪个函数是绘图?webgl里的renderSubmit?还是哪个? 2017-05-23 添加评论 免...
来源: Laya_社区 发布时间: 20170523
...) 2,贴图设置关联 将贴图文件放入Assets下 (图3) 需要创建一个材质文件,来为模型配置贴图等信息 (图4) 点击新建的Material文件,右面可以看到很多配置信息,这里我们只需要将贴图文件拖入到材质文件中, (图5) 将材...
来源: Laya3.0_文档 发布时间: 20240910
...blic Methods MethodDefined By BaseTexture(format:int, mipMap:Boolean) 创建一个 BaseTexture 实例。 BaseTexture _getSource():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTextureProtected Methods MethodDefined By _dispo...
来源: Laya2.0_api 发布时间: 20190513
...bals "laya/d3/math/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRol...
来源: Laya3.0_api 发布时间: 20231102
...fig): BVHSpatialBox Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:111 创建BVHSpaticalBox实例 Parameters bvhmanager: BVHSpatialManager config: BVHSpatialConfig Returns BVHSpatialBox Accessors parent get parent(): BVHSpatialBox<IBoundsCell> set parent(value: BVHSpatialBox<IBoundsCell...
来源: Laya3.0_api 发布时间: 20231115
...nTangent ObjectImplements IVertex VertexPositionNormalTextureSkin 类用于创建位置、法线、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalTexture0Texture1SkinTangent blendWeight : Vector4[rea...
来源: laya_api 发布时间: 20170929