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

大约有 2,831 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0068 秒)

2721. laya.d3.component.staticmesh.StaticBatchMeshRender_API3.0 [ 40%]

...__init__ changeVertexDefine create shaderValueInit Legend Class Class with type parameter Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method

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

2722. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 40%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) ide 2.4 layaair2-cmd 编译报错 问题状态 最新活动: 2016-11-10 17:38 浏览: 5127 关注: 9 人

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

2723. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 40%]

...)byteOffset: (...)length: (...)Symbol(Symbol.toStringTag): (...)__proto__: TypedArray__proto__: Object bom.transform.localRotation=new Laya.Quaternion(0, 0,0,0);           //设置了localRotation Quaternion {elements: Float32Array[4]} bom.transform.worldMatrix                       ...

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

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

...Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._getTexture(CustomMaterial.DIFFUSETEXTURE); } CustomMaterial.prototype.setDiffuseTexture = function (value) { this._setTexture(CustomMaterial.DIFFUSETEXTURE,value); }     ...

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

2725. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 40%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存贮、重复使用。比较常用的是`对象池创建`方法`getItemByClass()`与`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。 ![图...

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

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

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 2017-03-31 15:18 浏览: 4215 关注: 3 人

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

2727. SCALE_FIXED_WIDTH适配屏幕的问题 [ 40%]

...ay = [                 { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS },                                 .......             ];             let createGameScene = () => {                 Laya.stage.width = 1218;         ...

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

2728. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 40%]

...写位图字体加载和使用的代码。 完整代码如下所示: ```typescript import { ui } from "./ui/layaMaxUI"; //继承BitmapFont的ui场景类 export default class AllText extends ui.examples.text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; co...

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

2729. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Clip }) public clip: Laya.Clip; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height &...

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

2730. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 40%]

...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Property Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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