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

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

701. laya.resource.BaseTexture_API3.0 [ 42%]

... url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _ad...

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

702. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 42%]

...ction _getVertexBuffer(index:int = 0):VertexBuffer3D Parameters index:int (default = 0)ReturnsVertexBuffer3D_prepareRender()method override public function _prepareRender(state:RenderContext3D):Boolean Parameters state:RenderContext3DReturnsBooleanaddNewParticlesToVertexBuffer()method  public func...

来源: Laya2.0_api 发布时间: 20190513

703. 一个简单的跑酷曲面shader分享 [ 42%]

...aya上,奈何不知道怎么写,就写这个shader练练手~   export default class CurveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); p...

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

704. laya加载unity插件导出的场景 physics3D is not a function [ 42%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();       //添加3D场景 Laya.Scene3D.load("res/Conventional/SimpleTown_DemoScene.ls",Laya.Handler.create(this,function(s:Laya.Scene3D):void{ var sce...

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

705. [LayaAirIDE3]应该如何定义@property才能像GTextField一样加载字体? [ 41%]

...大为 赞同来自: @property({type: String, displayName: "字体名称", default: "宋体",isAsset: true, inspector: "Font"}) 您好,这个装饰器可以实现您需要的效果 2025-09-16 0 1 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您可以设置一下启动脚本,在启动...

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

706. laya.ui.List [ 41%]

...可以选择,若值为true则可以选择,否则不可以选择。 The default value is false.selectHandlerproperty public var selectHandler:Handler改变 List 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。selectionproperty selection:Box 获取或设置...

来源: laya_api 发布时间: 20170929

707. Resources already exist,is repeated loading 加载特效报重复加载 [ 41%]

...urces already exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotate:Lay...

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

708. laya.d3.graphics.vertex.VertexMesh_API3.0 [ 41%]

...式为:"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

709. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 41%]

...文件。 参数 name:String — 位图字体的名称。 destory:Boolean (default = true) — 是否销毁当前字体文件。 ### BitmapFont 类里的相关接口: **loadFont () 方法** public function loadFont(path:String, complete:Handler):void 通过指定位图字体文件路径,加载...

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

710. laya.display.AnimationPlayerBase [ 40%]

...wrapMode属性,可设置动画播放顺序类型。 Parameters start:* (default = 0) — (可选)指定动画播放开始的索引(int)或帧标签(String)。帧标签可以通过addLabel(...)和removeLabel(...)进行添加和删除。  loop:Boolean (default = true) — (可选)是否循...

来源: laya_api 发布时间: 20170929