大约有 856 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)
Laya_社区(264) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(35) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...s = baos.toByteArray(); result = Base64.encodeToString(bitmapBytes, Base64.DEFAULT); } } catch (IOException e) { e.printStackTrace(); } finally { try { if (baos != null) { baos.flush(); baos.close(); } } catch (IOException e) { e.printStackTrace(); } } return result; } 2020-07-29 添加评论 免费...
来源: Laya_社区 发布时间: 20200729
...象池对应的编号对应好,否则使用时会出问题 */ export default class PoolManager { static _instance:any; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManager()) ...
来源: Laya_社区 发布时间: 20191206
... 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
...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
...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
...能单一,建议用脚本方式实现,比如子弹脚本。 */ 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
...大为 赞同来自: @property({type: String, displayName: "字体名称", default: "宋体",isAsset: true, inspector: "Font"}) 您好,这个装饰器可以实现您需要的效果 2025-09-16 0 1 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 您可以设置一下启动脚本,在启动...
来源: Laya_社区 发布时间: 20250910
...可以选择,若值为true则可以选择,否则不可以选择。 The default value is false.selectHandlerproperty public var selectHandler:Handler改变 List 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。selectionproperty selection:Box 获取或设置...
来源: laya_api 发布时间: 20170929
...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
...式为:"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