大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
... 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
...文件。 参数 name:String — 位图字体的名称。 destory:Boolean (default = true) — 是否销毁当前字体文件。 ### BitmapFont 类里的相关接口: **loadFont () 方法** public function loadFont(path:String, complete:Handler):void 通过指定位图字体文件路径,加载...
来源: Laya2.0_文档 发布时间: 20201114
...wrapMode属性,可设置动画播放顺序类型。 Parameters start:* (default = 0) — (可选)指定动画播放开始的索引(int)或帧标签(String)。帧标签可以通过addLabel(...)和removeLabel(...)进行添加和删除。 loop:Boolean (default = true) — (可选)是否循...
来源: laya_api 发布时间: 20170929